Hi Niels, Quoting Niels Thykier (2025-04-21 22:13:32) > Of the options presented, I would recommend the first one. > > That option has my preference because: > > A) It does not present an error to be ignored. I do not like such > behavior since I feel it promotes error blindness. The third > alternative fails this one in my view. > > B) It does not hide unrelated errors (that is, if another error occurs > that message will not be hidden from the user). The second alternative > fails this one in my view.
I agree with your assesment. Thank you for sharing your opinion on this. While I started implementing this using Perl's remove_tree() I remembered that I already had the same problem with mmdebstrap. I now just copied what I do with mmdebstrap and recorded the reasoning behind that in the commit message: https://salsa.debian.org/debian/sbuild/-/merge_requests/179 Thanks! cheers, josch
signature.asc
Description: signature