Update ip.sh

This commit is contained in:
Made I.T 2017-09-11 23:36:14 +02:00 committed by GitHub
commit 4ef55bb5aa

View file

@ -213,7 +213,8 @@ get_user_ips() {
get_user_ip() {
ip=$(get_user_ips |head -n1)
if [ -z "$ip" ]; then
check_result $E_NOTEXIST "no IP is available"
ip="no"
#check_result $E_NOTEXIST "no IP is available"
fi
local_ip=$ip
nat=$(grep "^NAT" $VESTA/data/ips/$ip |cut -f 2 -d \')