svn commit: r243324 - head/etc
Hiroki Sato
hrs at FreeBSD.org
Tue Nov 20 04:45:04 UTC 2012
Author: hrs
Date: Tue Nov 20 04:45:04 2012
New Revision: 243324
URL: http://svnweb.freebsd.org/changeset/base/243324
Log:
Do not put "already running" message when rc_quiet=yes.
PR: bin/165477
Modified:
head/etc/rc.subr
Modified: head/etc/rc.subr
==============================================================================
--- head/etc/rc.subr Tue Nov 20 03:57:54 2012 (r243323)
+++ head/etc/rc.subr Tue Nov 20 04:45:04 2012 (r243324)
@@ -704,7 +704,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-all
mailing list