svn commit: r324625 - head/etc

Jilles Tjoelker jilles at FreeBSD.org
Sun Oct 15 11:28:42 UTC 2017


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


More information about the svn-src-head mailing list