From 876e8ee2101590b35673ff6a2d3927c66d0849f7 Mon Sep 17 00:00:00 2001 From: david Date: Sat, 28 Oct 2023 21:23:05 +0200 Subject: [PATCH] fixed another bug in restic-backup.sh --- restic-backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/restic-backup.sh b/restic-backup.sh index 6cc0921..6c88e8e 100755 --- a/restic-backup.sh +++ b/restic-backup.sh @@ -200,7 +200,7 @@ else exit 1 fi # Signal backup start to Healthchecks if enabled - if [[ "$C" -eq 1 ]] && lib_healthchecks "$(cat $HEALTHCHECKS)/start" "Commencing backup [$1]" + [[ "$C" -eq 1 ]] && lib_healthchecks "$(cat $HEALTHCHECKS)/start" "Commencing backup [$1]" # Run the actual backup if ! $($RESTIC_COMMAND backup --one-file-system ${@:2} "$1" >/dev/null 2>&1); then lib_print "!Something went wrong while running backup [$1]"