diff options
author | Jilles Tjoelker <jilles@FreeBSD.org> | 2017-10-15 11:28:41 +0000 |
---|---|---|
committer | Jilles Tjoelker <jilles@FreeBSD.org> | 2017-10-15 11:28:41 +0000 |
commit | d78b853f0ff789cf35e4ef35339e8b74bef3e3b3 (patch) | |
tree | 144184c0f46c052e76601f8c236f9697f95cfabc /etc | |
parent | a6aeb2b6e4b01717238fc2ea05053a3c5a99f620 (diff) | |
download | src-d78b853f0ff789cf35e4ef35339e8b74bef3e3b3.tar.gz src-d78b853f0ff789cf35e4ef35339e8b74bef3e3b3.zip |
rc.subr: Remove test that is always true.
The code above always sets _pidcmd to a non-empty value.
Notes
Notes:
svn path=/head/; revision=324625
Diffstat (limited to 'etc')
-rw-r--r-- | etc/rc.subr | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/etc/rc.subr b/etc/rc.subr index 42b774a82a77..caafd88b3f0b 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 |