Signed-off-by: Antony Pavlov <antonynpavlov@xxxxxxxxx> --- commands/led.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/commands/led.c b/commands/led.c index 7fd9d44..6bda797 100644 --- a/commands/led.c +++ b/commands/led.c @@ -40,7 +40,7 @@ static int do_led(struct command *cmdtp, int argc, char *argv[]) led = led_by_number(i); if (!led) { printf("no registered LEDs\n"); - return COMMAND_ERROR; + return 1; } printf("registered LEDs:\n"); -- 1.7.5.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox