diff --git a/mm-scripts.sh b/mm-scripts.sh index 1f1ffe2..5ebbd07 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -335,7 +335,7 @@ PersistentKeepalive = 25" >> /etc/wireguard/${VPN_INTERFACE}.conf tryupdate=false cc=0 - until [ "${checkport}" == "" ]; do + until [ "${checkport}" != "" ]; do if [ ${cc} -eq 10 ]; then if [ -f ${MMFOLDER}/mm.${srvc}.starting ]; then msg="${srvc^} Service is not starting properly, will try and update"