svn commit: r253231 - stable/9/etc

Hiroki Sato hrs at FreeBSD.org
Fri Jul 12 01:08:13 UTC 2013


Author: hrs
Date: Fri Jul 12 01:08:12 2013
New Revision: 253231
URL: http://svnweb.freebsd.org/changeset/base/253231

Log:
  MFC 243324:
  
  Do not put "already running" message when rc_quiet=yes.
  
  PR:	bin/165477

Modified:
  stable/9/etc/rc.subr
Directory Properties:
  stable/9/etc/   (props changed)

Modified: stable/9/etc/rc.subr
==============================================================================
--- stable/9/etc/rc.subr	Fri Jul 12 01:06:08 2013	(r253230)
+++ stable/9/etc/rc.subr	Fri Jul 12 01:08:12 2013	(r253231)
@@ -742,7 +742,10 @@ run_rc_command()
 
 		start)
 			if [ -z "$rc_fast" -a -n "$rc_pid" ]; then
-				echo 1>&2 "${name} already running? (pid=$rc_pid)."
+				if [ -z "$rc_quiet" ]; then
+					echo 1>&2 "${name} already running? " \
+					    "(pid=$rc_pid)."
+				fi
 				return 1
 			fi
 


More information about the svn-src-stable-9 mailing list