mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-01-24 05:16:39 +02:00
c4dc4665f8
storageSftpPathRemove() used LIBSSH2_FX_FAILURE to determine when it was attempting to unlink a directory, but it appears that LIBSSH2_FX_PERMISSION_DENIED is also valid for this case. Update storageSftpPathRemove() to accept either error and adjust tests.