Browse Source

minor, check 80 port more gracefully

neil 9 years ago
parent
commit
b78a2c81d0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      le.sh

+ 1 - 1
le.sh

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