diff --git a/le.sh b/le.sh index 0881c3a..8c461fb 100755 --- a/le.sh +++ b/le.sh @@ -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