From 5de16116286b1935ee9f6495253e7a54b7d4be19 Mon Sep 17 00:00:00 2001 From: neil Date: Sun, 24 Jan 2016 21:16:09 +0800 Subject: [PATCH] minor fix output message. --- le.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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