sysinstall: suppress 'no' prompt to begin installation
The user has to type 'yes', but it doesn't mean that the default of 'no' is ever useful. Suppress it, so the user doesn't have to press backspace twice.
This commit is contained in:
@@ -903,6 +903,7 @@ static int prompt_confirm(void) {
|
||||
bool yes;
|
||||
r = prompt_loop_yes_no(arg_summary ? "Please type 'yes' to confirm the choices above and begin the installation" :
|
||||
"Please type 'yes' to begin the installation",
|
||||
/* prefill= */ NULL,
|
||||
/* def= */ false,
|
||||
&yes);
|
||||
if (r < 0)
|
||||
|
||||
Reference in New Issue
Block a user