Skip to content

Commit

Permalink
Merge pull request #43 from bannmann/fix-monthly-backuplist
Browse files Browse the repository at this point in the history
Fix $backuplist for monthly archives
  • Loading branch information
assistcontrol authored Mar 22, 2020
2 parents 125bb5a + 2212757 commit c75d230
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acts
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ for dir in $backuptargets; do
archive_starttime=$(date +%s)
# shellcheck disable=SC2086
if output="$(calltarsnap -c -f "$monthlyarchive" $tarsnapbackupoptions "@@$dailyarchive" 2>&1)"; then
backuplist="$backuplist $yearlyarchive"
backuplist="$backuplist $monthlyarchive"
else
log_output=$(prettyprint log_output "$output")
log_message "copy-error type=monthly output=\"$log_output\""
Expand Down

0 comments on commit c75d230

Please sign in to comment.