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:
@@ -413,7 +413,7 @@ void
|
||||
plat_power_off(void)
|
||||
{
|
||||
plat_mouse_capture(0);
|
||||
confirm_exit = 0;
|
||||
confirm_exit_cmdl = 0;
|
||||
nvr_save();
|
||||
config_save();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user