From 7597088c8dbca33dd19f0d6506c6beb2ffb324f8 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 21 Dec 2024 10:53:58 -0600 Subject: [PATCH] Update run.sh --- run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.sh b/run.sh index 871810c0..20957bf8 100755 --- a/run.sh +++ b/run.sh @@ -48,7 +48,7 @@ if [ "${1}" == "update" ]; then echo -en "\e[1A"; echo -e "\e[0K\r ${idsCL[Green]}Update to v${VERS} complete${idsCL[Default]}" fi - if [ ! -f ${NM_TMPFOLDER}/.singleserver.PW.secondary ] && [ ! -f ${NM_TMPFOLDER}/.singleserver.PWO.secondary ]; then + if [ -f ${NM_TMPFOLDER}/.singleserver.PW.primary ] || [ -f ${NM_TMPFOLDER}/.singleserver.PWO.primary ]; then echo -en "${idsCL[LightCyan]}Do you want to restart PowerWall Services as well? (y/N): " read -n 1 choice case "$choice" in