diff --git a/usr/local/jilits/borgmatic-wrapper.sh b/usr/local/jilits/borgmatic-wrapper.sh index e378adc..55a4f50 100755 --- a/usr/local/jilits/borgmatic-wrapper.sh +++ b/usr/local/jilits/borgmatic-wrapper.sh @@ -67,7 +67,7 @@ perform_backup() { "$borgmatic" create --files --stats --verbosity 2 --syslog-verbosity -1 2>&1 | tee -a "$LOG_FILE" || return 1 set_state LastBackupPrettyTimestamp "$(dt_to_pretty "$(get_last_backup_ts)")" "$((4 * 60 * 60))" - "$borgmatic" prune --files --stats --verbosity 2 --syslog-verbosity -1 2>&1 | tee -a "$LOG_FILE" || return 2 + "$borgmatic" prune --stats --verbosity 2 --syslog-verbosity -1 2>&1 | tee -a "$LOG_FILE" || return 2 } perform_check() {