add break to avoid endless loop

This commit is contained in:
Daniel Hansson 2021-05-24 02:19:44 +02:00 committed by GitHub
parent a91893928d
commit f1fe53821d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

1
lib.sh
View File

@ -814,6 +814,7 @@ ${NONO_PORTS[*]}"
then
sed -i "s|{HTTP_HOST}|{HTTP_HOST}:$DEDYNPORT|g" "$DEDYN_CONF"
fi
break
fi
else
msg_box "The port number needs to be between 1024 - 49151, please try again."