From e99a42d90ee23ad66a6af670f39b63a0e74cd9a3 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 14 Jun 2025 16:35:55 -0500 Subject: [PATCH] Update run.sh --- run.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/run.sh b/run.sh index 8dc6afa2..b0a9ade0 100755 --- a/run.sh +++ b/run.sh @@ -48,7 +48,8 @@ if [ "${1}" == "update" ]; then if [ "${2}" != "q" ]; then echo -en "\e[1A"; echo -e "\e[0K\r ${idsCL[Green]}Update to v${PW_VERS} complete${idsCL[Default]}" - + fi + if [ "${2}" != "q" ] && [ "${2}" != "y" ]; 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