From f94c66f45a045fd3a7e3eb60b75bdbbcdb22bffa Mon Sep 17 00:00:00 2001 From: zacheiss Date: Sat, 24 Nov 2001 00:08:46 +0000 Subject: [PATCH] Use ps -ef; ps -el truncates too much of the process name. --- gen/mailhub.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.45.1