Skip to content

Draft: Error checking --backup, assume user id to delete

Matt Barry requested to merge zaharazod/adduser:bug-992163 into master

If tar returns !=0, do not proceed with file deletions. Assume the user's UID in order to remove files (as a safety valve).

Though parts of this bug are already dealt with elsewhere, these are two simple additional checks when deleting files. I haven't figured out a good way to test it (though existing tests obviously pass); any thoughts welcome.

Closes: #992163

Merge request reports

Loading