Author: jilles Date: Sun Oct 15 11:28:41 2017 New Revision: 324625 URL: https://svnweb.freebsd.org/changeset/base/324625
Log: rc.subr: Remove test that is always true. The code above always sets _pidcmd to a non-empty value. Modified: head/etc/rc.subr Modified: head/etc/rc.subr ============================================================================== --- head/etc/rc.subr Sun Oct 15 10:59:31 2017 (r324624) +++ head/etc/rc.subr Sun Oct 15 11:28:41 2017 (r324625) @@ -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 _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"