diff --git a/rebuild-nix-system.sh b/rebuild-nix-system.sh index 9e66311..5e4e39c 100755 --- a/rebuild-nix-system.sh +++ b/rebuild-nix-system.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash +set -e + # Check for force flag FORCE_REBUILD=false if [[ "$1" == "-f" || "$1" == "--force" ]]; then