Do not put "already running" message when rc_quiet=yes.

PR:	bin/165477
This commit is contained in:
Hiroki Sato 2012-11-20 04:45:04 +00:00
parent cff4243d09
commit c426f75e3b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=243324

View File

@ -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