minor fix output message.

This commit is contained in:
neil 2016-01-24 21:16:09 +08:00
parent 8ad71801eb
commit 5de1611628

2
le.sh
View File

@ -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