diff options
| author | B. Watson <urchlay@slackware.uk> | 2025-11-14 17:03:36 -0500 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2025-11-14 17:03:36 -0500 |
| commit | c6c54622b219a25cbbd24665c2394056ac33b8b4 (patch) | |
| tree | b6535c3fcff5d404633c7a338591032561931584 /src/unalf.c | |
| parent | d94681f507e624eebbcffa218882e6cd73ca9784 (diff) | |
| download | unalf-c6c54622b219a25cbbd24665c2394056ac33b8b4.tar.gz | |
Exit status 2 for bad checksums, print report with -t.
Diffstat (limited to 'src/unalf.c')
| -rw-r--r-- | src/unalf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unalf.c b/src/unalf.c index d4b5aa0..af21aa9 100644 --- a/src/unalf.c +++ b/src/unalf.c @@ -82,5 +82,5 @@ int main(int argc, char **argv) { else extract_alf(); - exit(0); + exit(bad_checksum_count ? 2 : 0); } |
