summaryrefslogtreecommitdiff
path: root/jffsX-utils/sumtool.c
diff options
context:
space:
mode:
Diffstat (limited to 'jffsX-utils/sumtool.c')
-rw-r--r--jffsX-utils/sumtool.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/jffsX-utils/sumtool.c b/jffsX-utils/sumtool.c
index 0958615..a995bdf 100644
--- a/jffsX-utils/sumtool.c
+++ b/jffsX-utils/sumtool.c
@@ -156,9 +156,11 @@ void process_options (int argc, char **argv)
target_endian = __LITTLE_ENDIAN;
break;
case 'h':
- case '?':
puts(helptext);
exit(EXIT_SUCCESS);
+ case '?':
+ puts(helptext);
+ exit(EXIT_FAILURE);
case 'v':
verbose = 1;
break;