aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@FreeBSD.org>2017-10-15 11:28:41 +0000
committerJilles Tjoelker <jilles@FreeBSD.org>2017-10-15 11:28:41 +0000
commitd78b853f0ff789cf35e4ef35339e8b74bef3e3b3 (patch)
tree144184c0f46c052e76601f8c236f9697f95cfabc /etc
parenta6aeb2b6e4b01717238fc2ea05053a3c5a99f620 (diff)
downloadsrc-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.subr4
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