From 0103f59f826ae19972dfbd569f13d21322745c6a Mon Sep 17 00:00:00 2001 From: neil Date: Thu, 21 Apr 2016 22:48:40 +0800 Subject: [PATCH] remove unnecessary kill. --- acme.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/acme.sh b/acme.sh index 81f170b7..04af7860 100755 --- a/acme.sh +++ b/acme.sh @@ -747,11 +747,7 @@ _stopserver(){ kill -s 9 $pid > /dev/null fi - for ncid in $(echo $(ps | grep nc) | cut -d " " -f 1) ; do - _debug "kill $ncid" - kill -s 9 $ncid > /dev/null - done - + _get "http://localhost:$Le_HTTPPort" >/dev/null 2>&1 }