From 5ccd84c77e7cc9b8f7b3a763adfe21eaf6cd333a Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Thu, 23 Apr 2026 20:47:33 -0400 Subject: [PATCH] =?UTF-8?q?yarn:=20fix=20steamos-update=20exit=20code=20?= =?UTF-8?q?=E2=80=94=207=20means=20no=20update,=20not=200?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Steam interprets exit 0 from 'steamos-update check' as 'update applied successfully' and shows a persistent 'update available' notification. The SteamOS convention is exit 7 = no update available. --- hosts/yarn/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/yarn/default.nix b/hosts/yarn/default.nix index e637214..251eb3b 100644 --- a/hosts/yarn/default.nix +++ b/hosts/yarn/default.nix @@ -174,7 +174,7 @@ CURRENT=$(readlink -f /nix/var/nix/profiles/system) if [ "$CURRENT" = "$STORE_PATH" ]; then >&2 echo "[steamos-update] no update available" - exit 0 + exit 7 fi # check-only mode: just report that an update exists