about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatryk Niedzwiedzinski <patryk@niedzwiedzinski.cyou>2024-09-29 18:13:42 +0200
committerPatryk Niedzwiedzinski <patryk@niedzwiedzinski.cyou>2024-09-29 18:13:42 +0200
commit7f1f8bee58a00772877ded6d1c91bd8f195a07e6 (patch)
tree505aae2381c84ee64ed0b8bf2aa699dd6e238777
parent98d95851f87fe31fb073b1e91954f7b536e737da (diff)
downloaddots-7f1f8bee58a00772877ded6d1c91bd8f195a07e6.tar.gz
dots-7f1f8bee58a00772877ded6d1c91bd8f195a07e6.zip
18 current 2024-09-29 18:07:04 24.05.20240928.fbca5e7 6.6.52 *
-rwxr-xr-xrebuild/rebuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/rebuild/rebuild.sh b/rebuild/rebuild.sh
index 9738dd3..6e4bbca 100755
--- a/rebuild/rebuild.sh
+++ b/rebuild/rebuild.sh
@@ -34,7 +34,7 @@ git diff -U0 '*'
 echo "NixOS Rebuilding..."
 
 # Rebuild, output simplified errors, log trackebacks
-sudo nixos-rebuild switch --flake $DIR/flake.nix 2>&1 | tee nixos-switch.log 
+sudo nixos-rebuild switch --flake $DIR/flake.nix 2>&1 | tee nixos-switch.log || exit 1 
 
 # Get current generation metadata
 current=$(nixos-rebuild list-generations | grep current)