aboutsummaryrefslogtreecommitdiff
path: root/src/unalf.c
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2025-11-14 17:03:36 -0500
committerB. Watson <urchlay@slackware.uk>2025-11-14 17:03:36 -0500
commitc6c54622b219a25cbbd24665c2394056ac33b8b4 (patch)
treeb6535c3fcff5d404633c7a338591032561931584 /src/unalf.c
parentd94681f507e624eebbcffa218882e6cd73ca9784 (diff)
downloadunalf-c6c54622b219a25cbbd24665c2394056ac33b8b4.tar.gz
Exit status 2 for bad checksums, print report with -t.
Diffstat (limited to 'src/unalf.c')
-rw-r--r--src/unalf.c2
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);
}