minor, check 80 port more gracefully

This commit is contained in:
neil committed 2016-01-06 22:30:18 +08:00
1 parent 29a02475df
commit b78a2c81d0
1 file changed
+1 -1
+1 -1
View File
@@ -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)"
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.