summaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2013-11-15 12:57:13 +1100
committerJeremy Kerr <jk@ozlabs.org>2013-11-19 11:17:43 +1100
commit22ca5c0c2229b7f392beb23452a53b60c435bd46 (patch)
tree0891369da9038f3301d8e34794fc3c00bd7fa007 /ui
parented0ab8039d7ff7315a748b4402544ab5618620dd (diff)
downloadtalos-petitboot-22ca5c0c2229b7f392beb23452a53b60c435bd46.tar.gz
talos-petitboot-22ca5c0c2229b7f392beb23452a53b60c435bd46.zip
ui/ncurses: Don't mess with prog_mode in cui_boot
The discover_client_boot call is asynchronous, so setting and resetting prog_mode doesn't gain us anything. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'ui')
-rw-r--r--ui/ncurses/nc-cui.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/ui/ncurses/nc-cui.c b/ui/ncurses/nc-cui.c
index 268060c..5af1171 100644
--- a/ui/ncurses/nc-cui.c
+++ b/ui/ncurses/nc-cui.c
@@ -147,13 +147,8 @@ static int cui_boot(struct pmenu_item *item)
nc_scr_status_printf(cui->current, "Booting %s...", cod->name);
- def_prog_mode();
-
result = discover_client_boot(cui->client, NULL, cod->opt, cod->bd);
- reset_prog_mode();
- redrawwin(cui->current->main_ncw);
-
if (result) {
nc_scr_status_printf(cui->current,
"Failed: boot %s", cod->bd->image);
OpenPOWER on IntegriCloud