expose the error

This commit is contained in:
neil 2016-04-12 23:47:09 +08:00
parent dca09dedac
commit 770dc4b230
1 changed files with 2 additions and 2 deletions

4
le.sh
View File

@ -660,12 +660,12 @@ _stopserver(){
if [[ "$(ps | grep "$pid")" ]] ; then
_debug "Found proc process, kill it."
kill -s 9 $pid > /dev/null 2>&1
kill -s 9 $pid > /dev/null
fi
for ncid in $(ps | grep nc | cut -d " " -f 1) ; do
_debug "kill $ncid"
kill -s 9 $ncid > /dev/null 2>&1
kill -s 9 $ncid > /dev/null
done
_get "http://localhost:$Le_HTTPPort" >/dev/null 2>$1