mirror of https://github.com/wulabing/Xray_onekey
Update install.sh
parent
a4e7544f31
commit
d2565514df
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue