summaryrefslogtreecommitdiff
path: root/util/ifdtool/ifdtool.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/ifdtool/ifdtool.c')
-rw-r--r--util/ifdtool/ifdtool.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/util/ifdtool/ifdtool.c b/util/ifdtool/ifdtool.c
index 32b2081d93..5993bfc99b 100644
--- a/util/ifdtool/ifdtool.c
+++ b/util/ifdtool/ifdtool.c
@@ -2514,10 +2514,13 @@ int main(int argc, char *argv[])
break;
case 'h':
case '?':
- default:
print_usage(argv[0]);
exit(EXIT_SUCCESS);
break;
+ default:
+ print_usage(argv[0]);
+ exit(EXIT_FAILURE);
+ break;
}
}