rc.subr: Remove test that is always true.
The code above always sets _pidcmd to a non-empty value.
This commit is contained in:
parent
a6aeb2b6e4
commit
d78b853f0f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=324625
@ -930,10 +930,8 @@ run_rc_command()
|
|||||||
else
|
else
|
||||||
_pidcmd='rc_pid=$(check_process '"$_procname $command_interpreter"')'
|
_pidcmd='rc_pid=$(check_process '"$_procname $command_interpreter"')'
|
||||||
fi
|
fi
|
||||||
if [ -n "$_pidcmd" ]; then
|
|
||||||
_keywords="${_keywords} status poll"
|
_keywords="${_keywords} status poll"
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -z "$rc_arg" ]; then
|
if [ -z "$rc_arg" ]; then
|
||||||
rc_usage $_keywords
|
rc_usage $_keywords
|
||||||
|
Loading…
Reference in New Issue
Block a user