|
@@ -198,6 +198,7 @@ killproc()
|
|
|
# the pidlist variable will contains the output of the pidof command.
|
|
|
# pidof will try to find the PID's that belong to a certain string;
|
|
|
# $base in this case
|
|
|
+#
|
|
|
|
|
|
pidlist=$(/bin/pidof -o $$ -o $PPID -o %PPID -x $base)
|
|
|
|
|
@@ -319,9 +320,8 @@ reloadproc()
|
|
|
|
|
|
#
|
|
|
# Find the basename of the first parameter (the daemon's name without
|
|
|
-# the path
|
|
|
-# that was provided so /usr/sbin/syslogd becomes plain 'syslogd' after
|
|
|
-# basename ran)
|
|
|
+# the path that was provided so /usr/sbin/syslogd becomes plain 'syslogd'
|
|
|
+# after basename ran)
|
|
|
#
|
|
|
|
|
|
base=$(/usr/bin/basename $1)
|