Commit 233e8a20 authored by neil's avatar neil
Browse files

kill nc

parent 770dc4b2
......@@ -663,7 +663,7 @@ _stopserver(){
kill -s 9 $pid > /dev/null
fi
for ncid in $(ps | grep nc | cut -d " " -f 1) ; do
for ncid in $(echo $(ps | grep nc) | cut -d " " -f 1) ; do
_debug "kill $ncid"
kill -s 9 $ncid > /dev/null
done
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment