commit | 557aa6a4b7b1d678b7c2c3b9aae1dafcc2160c64 | [log] [tgz] |
---|---|---|
author | Mark Wielaard <mark@klomp.org> | Fri Oct 06 16:25:56 2023 +0200 |
committer | Mark Wielaard <mark@klomp.org> | Fri Oct 06 16:25:56 2023 +0200 |
tree | 71f07f78c0e38c8b7fe8862682a36a6856e47422 | |
parent | efedcaa3415cf1305bb4d20a42aae3b60d341122 [diff] |
strip: Clean up a bit more after errors In some cases (late) errors would exit early without cleanup. Set result to 1 (failure) in those cases and fallthrough. That way we cleanup and might provide more hints to the user about what was wrong with the file. * src/strip.c (handle_elf): Set result to 1 and fallthrough instead of return 1. Signed-off-by: Mark Wielaard <mark@klomp.org>