mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 13:11:41 +00:00
fix for Proxmox
This commit is contained in:
parent
b7604c0647
commit
399306a164
2
le.sh
2
le.sh
@ -596,7 +596,7 @@ _startserver() {
|
|||||||
|
|
||||||
nchelp="$(nc -h 2>&1)"
|
nchelp="$(nc -h 2>&1)"
|
||||||
|
|
||||||
if echo "$nchelp" | grep "\-q " >/dev/null ; then
|
if echo "$nchelp" | grep "\-q[ ,]" >/dev/null ; then
|
||||||
_NC="nc -q 1 -l"
|
_NC="nc -q 1 -l"
|
||||||
else
|
else
|
||||||
if echo "$nchelp" | grep "GNU netcat" >/dev/null && echo "$nchelp" | grep "\-c, \-\-close" >/dev/null ; then
|
if echo "$nchelp" | grep "GNU netcat" >/dev/null && echo "$nchelp" | grep "\-c, \-\-close" >/dev/null ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user