From fd653ad1e70ec4d6fd47fe60c4668a8f32235b5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Sun, 2 Jun 2024 23:52:27 +0200 Subject: [PATCH] Fix shellcheck --- backup.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup.nix b/backup.nix index d2df465..94a376d 100644 --- a/backup.nix +++ b/backup.nix @@ -18,7 +18,7 @@ let if [ $rc -ne 0 ]; then echo "Backup of $i failed with exit code $rc:" echo "$output" - exit_code="$rc" + exit_code=1; else echo "Backup of $i successful:" echo "$output"