mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 13:11:41 +00:00
nc exit automatically, not use kill anymore.
This commit is contained in:
parent
9877d46620
commit
6586a86902
6
le.sh
6
le.sh
@ -235,11 +235,11 @@ _stopserver() {
|
||||
pid="$1"
|
||||
if [ "$pid" ] ; then
|
||||
if [ "$DEBUG" ] ; then
|
||||
kill -s 9 $pid
|
||||
# kill -s 9 $pid
|
||||
# killall -s 9 nc
|
||||
else
|
||||
kill -s 9 $pid > /dev/null
|
||||
wait $pid 2>/dev/null
|
||||
# kill -s 9 $pid > /dev/null
|
||||
# wait $pid 2>/dev/null
|
||||
# killall -s 9 nc > /dev/null
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user