Update install.sh

pull/41/head
wulabing 2018-01-27 13:36:25 +08:00 committed by GitHub
parent a4e7544f31
commit d2565514df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -243,7 +243,7 @@ domain_check(){
}
port_exist_check(){
if [[ 0 -eq `netstat -lntuap | grep "$1"| wc -l` ]];then
if [[ 0 -eq `lsof -i:"$1" | wc -l` ]];then
echo -e "${OK} ${GreenBG} $1 端口未被占用 ${Font}"
sleep 1
else