mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-11-10 00:11:45 +00:00
graceful
This commit is contained in:
parent
1b2e940d6a
commit
bce55f429b
6
le.sh
6
le.sh
@ -342,16 +342,16 @@ _startserver() {
|
||||
_NC="nc -q 1 -l"
|
||||
|
||||
nchelp="$(nc -h 2>&1)"
|
||||
#centos
|
||||
if echo "$nchelp" | grep "nmap.org/ncat" >/dev/null ; then
|
||||
_NC="nc -l"
|
||||
fi
|
||||
|
||||
if echo "$nchelp" | grep "--version" >/dev/null ; then
|
||||
ncver="$(nc --version)"
|
||||
#debian
|
||||
ncver="$(nc --version 2>&1)"
|
||||
if echo "$ncver" | grep "http://www.deepspace6.net" > /dev/null ; then
|
||||
_NC="$_NC -p"
|
||||
fi
|
||||
fi
|
||||
|
||||
_debug nc "$_NC"
|
||||
# while true ; do
|
||||
|
Loading…
Reference in New Issue
Block a user