Commit 770dc4b2 authored by neil's avatar neil
Browse files

expose the error

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