Merge pull request #640 from nunojusto/patch-1

Update launch.sh
This commit is contained in:
Joel Martin
2016-08-16 17:34:38 -05:00
committed by GitHub

View File

@@ -69,7 +69,7 @@ done
which netstat >/dev/null 2>&1 \
|| die "Must have netstat installed"
netstat -ltn | grep -qs "${PORT} .*LISTEN" \
netstat -ltn | grep -qs ":${PORT} .*LISTEN" \
&& die "Port ${PORT} in use. Try --listen PORT"
trap "cleanup" TERM QUIT INT EXIT