summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
ed0ab80)
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>
nc_scr_status_printf(cui->current, "Booting %s...", cod->name);
nc_scr_status_printf(cui->current, "Booting %s...", cod->name);
result = discover_client_boot(cui->client, NULL, cod->opt, cod->bd);
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);
if (result) {
nc_scr_status_printf(cui->current,
"Failed: boot %s", cod->bd->image);