From 67612a7a0997d297b77b422e2d9bec25e8a38b08 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 25 Mar 2023 15:57:02 -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 b80d849..f363e74 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -328,7 +328,7 @@ PersistentKeepalive = 25" >> /etc/wireguard/${VPN_INTERFACE}.conf sleep 5s fi checkport=$(lsof -Pi :${MM_SERVICE_PORTS[${srvc}]} -sTCP:LISTEN -t) - if [ "${checkport}" == "" ] && [ "${MM_UPDATE_REPO[${srvc}]}" != "" ; then + if [ "${checkport}" == "" ] && [ "${MM_UPDATE_REPO[${srvc}]}" != "" ]; then UPDATESERVICE {$srvc} >/dev/null 2>&1 fi done