From e18fd84e3bfc9ab2f36cfc9cb3cef2cb27c41201 Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Thu, 2 Nov 2023 21:48:56 -0700 Subject: [PATCH] chore: Always exit 0 in cec-control No sense throwing an error for an optional feature, this is a request in the first place. --- system_files/desktop/shared/usr/bin/cec-control | 1 + 1 file changed, 1 insertion(+) diff --git a/system_files/desktop/shared/usr/bin/cec-control b/system_files/desktop/shared/usr/bin/cec-control index db13fd7e..94da1470 100755 --- a/system_files/desktop/shared/usr/bin/cec-control +++ b/system_files/desktop/shared/usr/bin/cec-control @@ -21,3 +21,4 @@ elif [ "${ACTION}" = "onpoweroff" ] && [ "$CEC_ONPOWEROFF_STANDBY" = true ]; the elif [ "${ACTION}" = "onsleep" ] && [ "$CEC_ONSLEEP_STANDBY" = true ]; then echo "standby $CEC_TVID" | cec-client -s -d 1 fi +exit 0