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]"