Remove logic that kills "rogue" PIDs

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1210316
e9
Erik Johnson 10 years ago
parent b1ecacb8f7
commit 51366ebced

@ -94,16 +94,6 @@ stop() {
else
killproc $PROCESS
RETVAL=$?
# tidy up any rogue processes:
PROCS=`ps -ef | grep "$SALTMINION" | grep -v grep | awk '{print $2}'`
if [ -n "$PROCS" ]; then
kill $PROCS &> /dev/null
sleep 1
PROCS=`ps -ef | grep "$SALTMINION" | grep -v grep | awk '{print $2}'`
if [ -n "$PROCS" ]; then
kill -9 $PROCS &> /dev/null
fi
fi
fi
echo
}

Loading…
Cancel
Save