Commit 399306a1 authored by neil's avatar neil
Browse files

fix for Proxmox

parent b7604c06
......@@ -596,7 +596,7 @@ _startserver() {
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"
else
if echo "$nchelp" | grep "GNU netcat" >/dev/null && echo "$nchelp" | grep "\-c, \-\-close" >/dev/null ; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment