mirror of
https://github.com/hiskang/acme.sh
synced 2025-08-12 03:26:57 +00:00
minor, check 80 port more gracefully
This commit is contained in:
parent
29a02475df
commit
b78a2c81d0
2
le.sh
2
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)"
|
||||
|
Loading…
x
Reference in New Issue
Block a user