ui/ncurses: Allow booting custom boot options
[petitboot] / ui / ncurses / nc-cui.c
index 85558481b52956a2005e1017a0f0456649aae3ad..33a9f73e81b966f50e2a11a1793edb94be3c3793 100644 (file)
@@ -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);