]> andersk Git - moira.git/commitdiff
Use ps -ef; ps -el truncates too much of the process name.
authorzacheiss <zacheiss>
Sat, 24 Nov 2001 00:08:46 +0000 (00:08 +0000)
committerzacheiss <zacheiss>
Sat, 24 Nov 2001 00:08:46 +0000 (00:08 +0000)
gen/mailhub.sh

index 932524e4298c0258ea5c9552e1f0c12a2d67e542..0562c9b1f65de9842619f56793036c12bd7f2dcd 100644 (file)
@@ -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
This page took 0.072773 seconds and 5 git commands to generate.