diff --git a/le.sh b/le.sh index 1081a597..5e5757b7 100755 --- a/le.sh +++ b/le.sh @@ -223,7 +223,7 @@ _setopt() { _startserver() { content="$1" _NC="nc -q 1" - if nc -h | grep "nmap.org/ncat" >/dev/null ; then + if nc -h 2>&1 | grep "nmap.org/ncat" >/dev/null ; then _NC="nc" fi # while true ; do