diff --git a/common/command.c b/common/command.c index 873b3ff..7f2b777 100644 --- a/common/command.c +++ b/common/command.c @@ -85,7 +85,7 @@ #else printf ("Unknown command '%s'\n", argv[0]); #endif - ret = -1; /* give up after bad command */ + ret = 1; /* give up after bad command */ } getopt_context_restore(&gc);