gptzfsboot: boot prompt should emit new line on input
In case the user did input, we should put newline on screen to avoid possible error messages to get mixed with user input.
This commit is contained in:
@@ -320,12 +320,14 @@ main(void)
|
|||||||
else if (!auto_boot || !OPT_CHECK(RBX_QUIET))
|
else if (!auto_boot || !OPT_CHECK(RBX_QUIET))
|
||||||
putchar('\n');
|
putchar('\n');
|
||||||
auto_boot = 0;
|
auto_boot = 0;
|
||||||
if (parse_cmd())
|
if (parse_cmd()) {
|
||||||
putchar('\a');
|
putchar('\a');
|
||||||
else
|
} else {
|
||||||
|
putchar('\n');
|
||||||
load();
|
load();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* XXX - Needed for btxld to link the boot2 binary; do not remove. */
|
/* XXX - Needed for btxld to link the boot2 binary; do not remove. */
|
||||||
void
|
void
|
||||||
|
|||||||
Reference in New Issue
Block a user