From d78b853f0ff789cf35e4ef35339e8b74bef3e3b3 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Sun, 15 Oct 2017 11:28:41 +0000 Subject: [PATCH] rc.subr: Remove test that is always true. The code above always sets _pidcmd to a non-empty value. --- etc/rc.subr | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/etc/rc.subr b/etc/rc.subr index 42b774a82a7..caafd88b3f0 100644 --- a/etc/rc.subr +++ b/etc/rc.subr @@ -930,9 +930,7 @@ run_rc_command() else _pidcmd='rc_pid=$(check_process '"$_procname $command_interpreter"')' fi - if [ -n "$_pidcmd" ]; then - _keywords="${_keywords} status poll" - fi + _keywords="${_keywords} status poll" fi if [ -z "$rc_arg" ]; then