Commit af6e9e24 authored by Joel Martin's avatar Joel Martin

Merge pull request #185 from dark/master

Fix grep pattern when matching netstat output
parents fc003a13 cf068be2
......@@ -60,7 +60,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
......
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