Fix ACPI poweroffs disabling exit confirmations

Use confirm_exit_cmdl to skip the confirmation prompt without
saving it in the config
This commit is contained in:
Alexander Babikov
2024-03-01 19:27:46 +05:00
parent d77fc47408
commit 4335c3e085
3 changed files with 3 additions and 3 deletions

View File

@@ -413,7 +413,7 @@ void
plat_power_off(void)
{
plat_mouse_capture(0);
confirm_exit = 0;
confirm_exit_cmdl = 0;
nvr_save();
config_save();