Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't stop deleting on an exception #20

Merged
merged 1 commit into from Jun 10, 2022

Conversation

ninedotnine
Copy link
Contributor

If trashing a file fails for any reason,
such as EACCESS,
catch the exception and continue trashing other files.

This commit improves compatibility with GNU rm.

closes #19, but does not solve the problem of copying first then failing to unlink a file

If trashing a file fails for any reason,
such as EACCESS,
catch the exception and continue trashing other files.

This commit improves compatibility with GNU rm.
@rushsteve1 rushsteve1 merged commit 34c4d8e into rushsteve1:main Jun 10, 2022
@ninedotnine ninedotnine deleted the danso/dont-stop-on-fail-2 branch June 10, 2022 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

trash-d crashes if directory is not writeable
2 participants