about summary refs log tree commit diff
path: root/rebuild/rebuild.sh
diff options
context:
space:
mode:
Diffstat (limited to 'rebuild/rebuild.sh')
-rwxr-xr-xrebuild/rebuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/rebuild/rebuild.sh b/rebuild/rebuild.sh
index 3244ed7..9738dd3 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) || (cat nixos-switch.log | grep --color error && exit 1)
+sudo nixos-rebuild switch --flake $DIR/flake.nix 2>&1 | tee nixos-switch.log 
 
 # Get current generation metadata
 current=$(nixos-rebuild list-generations | grep current)