]> andersk Git - moira.git/blobdiff - gen/mailhub.sh
Use ps -ef; ps -el truncates too much of the process name.
[moira.git] / 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 1.335386 seconds and 4 git commands to generate.