From f03fa30ae24966a86950c6abf59c9e601546e303 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 25 Jan 2026 12:15:58 -0500 Subject: [PATCH] Update config switch check --- config | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config b/config index eb831f31..5c4b78f2 100755 --- a/config +++ b/config @@ -179,11 +179,11 @@ if [ "$1" = "" ]; then elif [[ $(timeout 2 i2cdetect -y 1 | grep -e "44" -e "45") ]]; then # check for battery board sensors # Check the exit code of the last command if [ $? -ne 0 ]; then - echo "Command failed!" - echo "Simulated Telemetry is OFF" - else echo "Command succeeded." echo "Simulated Telemetry is automatically turned ON" + else + echo "Command failed!" + echo "Simulated Telemetry is OFF" fi else echo "Simulated Telemetry is OFF"