summaryrefslogtreecommitdiffstats
path: root/ui/ncurses/nc-cui.c
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2013-10-10 16:00:17 +0800
committerJeremy Kerr <jk@ozlabs.org>2013-10-10 16:08:54 +0800
commit03d135e3d7528184062cc16949febd76c393c30d (patch)
treebe9cce3b3ec9195b19d9fb7c9a94997b4631913a /ui/ncurses/nc-cui.c
parent6d1eff1e8e1db12e7aa179e8dc9c65050c045536 (diff)
downloadtalos-petitboot-03d135e3d7528184062cc16949febd76c393c30d.tar.gz
talos-petitboot-03d135e3d7528184062cc16949febd76c393c30d.zip
ui/ncurses: Allow booting custom boot options
Currently, we can't boot user-created boot options, as they have no option ID associated. This change removes the check for option ID. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'ui/ncurses/nc-cui.c')
-rw-r--r--ui/ncurses/nc-cui.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ui/ncurses/nc-cui.c b/ui/ncurses/nc-cui.c
index 8555848..33a9f73 100644
--- a/ui/ncurses/nc-cui.c
+++ b/ui/ncurses/nc-cui.c
@@ -113,10 +113,6 @@ static int cui_boot(struct pmenu_item *item)
assert(cui->current == &cui->main->scr);
pb_log("%s: %s\n", __func__, cod->name);
- if (!cod->opt) {
- pb_log("%s: missing opt?\n", __func__);
- return -1;
- }
nc_scr_status_printf(cui->current, "Booting %s...", cod->name);
OpenPOWER on IntegriCloud