Skip to content

Commit

Permalink
adjusted path to use config backup dir variable for cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
fr00d committed Dec 12, 2021
1 parent 8bda9a4 commit 944d1d9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion automysqlbackup
Original file line number Diff line number Diff line change
Expand Up @@ -2246,7 +2246,8 @@ method_list_manifest_entries () {
# BEGIN __MAIN
unset manifest_files manifest_files_db i db
while IFS= read -r -d '' file; do
db="${file#/var/backups/db/@(daily|monthly|weekly|latest)/}";
#db="${file#/var/backups/db/@(daily|monthly|weekly|latest)/}";
db="${file#${CONFIG_backup_dir}/@(daily|monthly|weekly|latest)/}";
db="${db%/Manifest}";
manifest_files_db[i]="$db"
manifest_files[i++]="$file"
Expand Down

0 comments on commit 944d1d9

Please sign in to comment.