Page MenuHomeFreeBSD

D4156.id10744.diff
No OneTemporary

D4156.id10744.diff

Index: head/etc/rc.subr
===================================================================
--- head/etc/rc.subr
+++ head/etc/rc.subr
@@ -976,6 +976,14 @@
fi
fi
+ if [ $rc_arg = "start" -a -z "$rc_fast" -a -n "$rc_pid" ]; then
+ if [ -z "$rc_quiet" ]; then
+ echo 1>&2 "${name} already running? " \
+ "(pid=$rc_pid)."
+ fi
+ return 1
+ fi
+
# if there's a custom ${XXX_cmd},
# run that instead of the default
#
@@ -1004,14 +1012,6 @@
;;
start)
- if [ -z "$rc_fast" -a -n "$rc_pid" ]; then
- if [ -z "$rc_quiet" ]; then
- echo 1>&2 "${name} already running? " \
- "(pid=$rc_pid)."
- fi
- return 1
- fi
-
if [ ! -x "${_chroot}${_chroot:+/}${command}" ]; then
warn "run_rc_command: cannot run $command"
return 1

File Metadata

Mime Type
text/plain
Expires
Wed, Mar 18, 8:53 PM (4 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29925815
Default Alt Text
D4156.id10744.diff (802 B)

Event Timeline