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 56cb465..dde1440 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,7 @@ if ! ssh root@localhost 'cd /etc/nixos && nix flake update' ; then exit 1 +fi if ! ssh root@localhost 'nixos-rebuild dry-activate --impure' ; then @@ -39,6 +40,8 @@ if ! ssh root@localhost 'nixos-rebuild dry-activate --impure' ; then exit 1 +fi + if ! ssh root@localhost 'nixos-rebuild switch --impure &> /home/free/Documents/Updater_App_Logs/'$time_stamp'_Updater_Log.txt' ; then