Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Oct 2017 11:28:41 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r324625 - head/etc
Message-ID:  <201710151128.v9FBSfiZ074241@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710151128.v9FBSfiZ074241>