Signed-off-by: Andrey Smirnov <andrew.smirnov@xxxxxxxxx> --- common/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/command.c b/common/command.c index dc2cb88..03c7083 100644 --- a/common/command.c +++ b/common/command.c @@ -83,7 +83,7 @@ int execute_command(int argc, char **argv) #else printf ("Unknown command '%s'\n", argv[0]); #endif - ret = 1; /* give up after bad command */ + ret = COMMAND_ERROR; /* give up after bad command */ } getopt_context_restore(&gc); -- 2.1.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox