Do not put "already running" message when rc_quiet=yes.
PR: bin/165477
This commit is contained in:
parent
cff4243d09
commit
c426f75e3b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=243324
@ -704,7 +704,10 @@ run_rc_command()
|
|||||||
|
|
||||||
start)
|
start)
|
||||||
if [ -z "$rc_fast" -a -n "$rc_pid" ]; then
|
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
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user