diff options
-rw-r--r-- | chapter07/functions.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chapter07/functions.xml b/chapter07/functions.xml index 351dfe824..dbed6710d 100644 --- a/chapter07/functions.xml +++ b/chapter07/functions.xml @@ -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) |