mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
mod_storage_sql: Don't treat Enter or Ctrl-C as yes in upgrade command
It seems to imply that No is the default, so it shouldn't continue doing the Yes action unless you actually press Y
This commit is contained in:
parent
c8134dd9a9
commit
edfe2fe98c
1 changed files with 1 additions and 1 deletions
|
@ -1025,7 +1025,7 @@ function module.command(arg)
|
|||
end
|
||||
print("");
|
||||
print("Ensure you have working backups of the above databases before continuing! ");
|
||||
if not hi.show_yesno("Continue with the database upgrade? [yN]") then
|
||||
if false == hi.show_yesno("Continue with the database upgrade? [yN]") then
|
||||
print("Ok, no upgrade. But you do have backups, don't you? ...don't you?? :-)");
|
||||
return;
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue