From 06e1892efe11aea5263eb37382cc85d933864b3d Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 26 Mar 2023 20:18:25 -0500 Subject: [PATCH] Update mm-scripts.sh --- mm-scripts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm-scripts.sh b/mm-scripts.sh index 4485299..60b6e13 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -336,7 +336,7 @@ PersistentKeepalive = 25" >> /etc/wireguard/${VPN_INTERFACE}.conf if [ "${checkport}" != "" ]; then checked="" fi - if [ "${checked}" == "false" ] && [ ${cc} -eq 7 ]; then + if [ "${checked}" == "false" ] && [ ${cc} -eq 6 ]; then echo -e "${idsCL[Red]}${srvc} Service is not starting properly, will try and update${idsCL[Default]}" echo "$(date) - ${srvc} Service is not starting properly, will try and update" >> $logfile SENDNOTICE "${srvc} Service Issue" "${srvc} Service is not starting properly, will try and update" 1