From a498b5fe13fb08d2fc6381bf445b0cea67fd8d1a Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Wed, 13 Mar 2024 16:58:38 -0700 Subject: [PATCH] added exit code --- .../Updater Source Files/Update_Sovran_SystemsOS.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sovran_SystemsOS_Updater/Updater Source Files/Update_Sovran_SystemsOS.sh b/Sovran_SystemsOS_Updater/Updater Source Files/Update_Sovran_SystemsOS.sh index cc8927d..febd287 100755 --- a/Sovran_SystemsOS_Updater/Updater Source Files/Update_Sovran_SystemsOS.sh +++ b/Sovran_SystemsOS_Updater/Updater Source Files/Update_Sovran_SystemsOS.sh @@ -28,6 +28,8 @@ if ! ssh root@localhost 'cd /etc/nixos && nix flake update && nixos-rebuild swit --title="Sovran_SystemsOS Updater" \ --text="Could not complete the Sovran_SystemsOS update." + exit 1 + else zenity --info \