mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-02-01 13:17:46 +02:00
a73fe4eb96
If a path/file was remapped to a link using either --link-map or --link-all there would be no affect if the path/file already existed. If a link existed it would be properly updated and converting a link to a path/file also worked. The issue happened during delta cleanup, which failed to check if the existing path/file had been remapped to a link. Add checks for newly mapped path/file links and remove the old path/file we required.