From: Faiyaz Ahmed Date: Tue, 22 Jan 2008 20:59:58 +0000 (+0000) Subject: can't kill processes in other contexts. X-Git-Tag: NodeManager-1.7-2~12 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=573998303b58d20fe368c5b36486e89e01ca15ac;p=nodemanager.git can't kill processes in other contexts. --- diff --git a/nm.init b/nm.init index 4ae386d..eda0f11 100755 --- a/nm.init +++ b/nm.init @@ -43,10 +43,6 @@ stop() RETVAL=$? echo [ $RETVAL -eq 0 ] && rm -f ${lockfile} ${pidfile} - for i in $( vps aux | grep nm.py | awk '{print $2}' ); do - kill -9 $i - done - } restart()