1
1
Fork 0

fixed another bug in restic-backup.sh

This commit is contained in:
david 2023-10-28 21:23:05 +02:00
parent 811f791ad9
commit 876e8ee210
1 changed files with 1 additions and 1 deletions

View File

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