summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-05-05 18:00:14 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2010-05-05 18:00:14 +0200
commit1154cc47acb4fbc76bdf3956ff9d022cbe90ac47 (patch)
treeceb341c42b0ee27c055d842b7d2af461c455487e /src
parent71d7a828b72d3a1fceb8a526eb0cd2f5918511c3 (diff)
Return failure after displaying usage on insufficient arguments etc.
Diffstat (limited to 'src')
-rw-r--r--src/options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/options.c b/src/options.c
index 224af59..2779189 100644
--- a/src/options.c
+++ b/src/options.c
@@ -810,7 +810,7 @@ void show_mini_usage(void)
{
fprintf(stdout, PACKAGE " - No loadable images specified.\n"
"Use " PACKAGE " --help for detailed usage information\n");
- exit(0);
+ exit(1);
}
void show_usage(void)