summaryrefslogtreecommitdiff
path: root/jffsX-utils/mkfs.jffs2.c
diff options
context:
space:
mode:
Diffstat (limited to 'jffsX-utils/mkfs.jffs2.c')
-rw-r--r--jffsX-utils/mkfs.jffs2.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/jffsX-utils/mkfs.jffs2.c b/jffsX-utils/mkfs.jffs2.c
index 88e6cab..2fb7730 100644
--- a/jffsX-utils/mkfs.jffs2.c
+++ b/jffsX-utils/mkfs.jffs2.c
@@ -1629,9 +1629,11 @@ int main(int argc, char **argv)
break;
case 'h':
- case '?':
puts(helptext);
exit(EXIT_SUCCESS);
+ case '?':
+ puts(helptext);
+ exit(EXIT_FAILURE);
case 'v':
verbose = 1;