From 233e8a20853d3877e97fc4ae6e8ae703893bfc4e Mon Sep 17 00:00:00 2001 From: neil Date: Wed, 13 Apr 2016 00:24:55 +0800 Subject: [PATCH] kill nc --- le.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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