diff --git a/sys/boot/common/commands.c b/sys/boot/common/commands.c index 0559d1558c4..7fba019153b 100644 --- a/sys/boot/common/commands.c +++ b/sys/boot/common/commands.c @@ -150,6 +150,7 @@ command_help(int argc, char *argv[]) break; default: command_errmsg = "usage is 'help []"; + close(hfd); return(CMD_ERROR); }