Commit b78a2c81 authored by neil's avatar neil
Browse files

minor, check 80 port more gracefully

parent 29a02475
......@@ -313,7 +313,7 @@ issue() {
_err "Please install netstat first."
return 1
fi
netprc="$(netstat -antpl | grep ':80 ')"
netprc="$(netstat -ntpl | grep ':80 ')"
if [ "$netprc" ] ; then
_err "$netprc"
_err "tcp port 80 is already used by $(echo "$netprc" | cut -d '/' -f 2)"
......
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