From f60a6acd432c8794354815cd234eda06caed59e7 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 27 Aug 2024 21:45:46 -0500 Subject: [PATCH] Update run.sh --- run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.sh b/run.sh index ca00299c..af23178e 100755 --- a/run.sh +++ b/run.sh @@ -59,7 +59,7 @@ if [ "${1}" == "update" ]; then echo -e "\e[0K\r ${idsCL[LightCyan]}No Updates Available${idsCL[Default]}\n" fi fi - if [ "${1}" == "-a" ] || [ "${1}" == "all" ]; then + if [ "${2}" == "-a" ] || [ "${2}" == "all" ]; then echo -e "${idsCL[LightCyan]}Updating the Offsite Monitor...${idsCL[Default]}" ssh root@${PW_OFFSITE_MONITOR} "pw update" fi