fixed another bug in restic-backup.sh
This commit is contained in:
parent
811f791ad9
commit
876e8ee210
|
@ -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]"
|
||||
|
|
Loading…
Reference in New Issue