From: zacheiss Date: Sat, 24 Nov 2001 00:08:46 +0000 (+0000) Subject: Use ps -ef; ps -el truncates too much of the process name. X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/commitdiff_plain/f94c66f45a045fd3a7e3eb60b75bdbbcdb22bffa Use ps -ef; ps -el truncates too much of the process name. --- diff --git a/gen/mailhub.sh b/gen/mailhub.sh index 932524e4..0562c9b1 100644 --- a/gen/mailhub.sh +++ b/gen/mailhub.sh @@ -16,7 +16,7 @@ if [ $? != 0 ]; then exit $MR_MKCRED fi -kill `ps -el | grep "sendmail" | egrep -v "grep|mqueue.stall" | awk '{print $4}'` +kill `ps -ef | grep "sendmail" | egrep -v "grep|mqueue.stall" | awk '{print $2}'` sleep 60 mv $root/etc/aliases $root/etc/aliases.old