From 8efc5dfb8100d5db31460cbfd73c06719342139b Mon Sep 17 00:00:00 2001 From: Dave Gallant Date: Fri, 8 Mar 2024 22:52:00 -0500 Subject: [PATCH] Add euo pipefail to nix-flake-update.sh --- nix-flake-update.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nix-flake-update.sh b/nix-flake-update.sh index f3b00a9..0542e15 100755 --- a/nix-flake-update.sh +++ b/nix-flake-update.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash +set -euo pipefail + git pull update_msg=$(nix flake update 2>&1 | grep -v 'warning:') make