Browse Source

expose the error

master
neil 9 years ago
parent
commit
770dc4b230
  1. 4
      le.sh

4
le.sh

@ -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

Loading…
Cancel
Save