summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/boot/common/commands.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/boot/common/commands.c b/sys/boot/common/commands.c
index 0559d15..7fba019 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 <topic> [<subtopic>]";
+ close(hfd);
return(CMD_ERROR);
}
OpenPOWER on IntegriCloud