remove unnecessary kill.

This commit is contained in:
neil 2016-04-21 22:48:40 +08:00
parent d9ded9f3f3
commit 0103f59f82

View File

@ -747,10 +747,6 @@ _stopserver(){
kill -s 9 $pid > /dev/null kill -s 9 $pid > /dev/null
fi fi
for ncid in $(echo $(ps | grep nc) | cut -d " " -f 1) ; do
_debug "kill $ncid"
kill -s 9 $ncid > /dev/null
done
_get "http://localhost:$Le_HTTPPort" >/dev/null 2>&1 _get "http://localhost:$Le_HTTPPort" >/dev/null 2>&1