common: backup_autoremove: Fix find working with symlink of backups dir

dehydrated
Felix Stupp 4 years ago
parent abf4a36151
commit 8e470e3aba
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -12,7 +12,7 @@ function getDirName() {
grep --only-matching --perl-regexp '^.+(?=/[^/]+)';
}
find {{ backups_directory | quote }} -type f |
find -H {{ backups_directory | quote }} -type f |
onlyDatedFiles |
getDirName |
sort --unique |

Loading…
Cancel
Save