# HG changeset patch
# User Kim Alvefur <zash@zash.se>
# Date 1737667964 -3600
# Node ID 7209769e88bcb2e4a61246c5054ac84ac467bdde
# Parent  6b84d11aa09b7eb74f2814c4b117a021e0c59c24
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

diff -r 6b84d11aa09b -r 7209769e88bc plugins/mod_storage_sql.lua
--- a/plugins/mod_storage_sql.lua	Thu Jan 23 19:33:05 2025 +0100
+++ b/plugins/mod_storage_sql.lua	Thu Jan 23 22:32:44 2025 +0100
@@ -1025,7 +1025,7 @@
 		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