GUI setup: Reenable autoreboot for live-testing

This commit is contained in:
Hermès Bélusca-Maïto 2023-12-16 15:21:51 +01:00
parent 16670bdf62
commit ef4dc5d417
No known key found for this signature in database
GPG Key ID: 3B2539C65E7B93D0
1 changed files with 1 additions and 1 deletions

View File

@ -2901,7 +2901,7 @@ Quit:
/* Free the NT to Win32 path prefix mapping list */
FreeNtToWin32PathMappingList(&SetupData.MappingList);
#if 0 // NOTE: Disabled for testing purposes only!
#if 1 // NOTE 2: Reenabled for live-testing! // NOTE: Disabled for testing purposes only!
EnablePrivilege(SE_SHUTDOWN_NAME, TRUE);
ExitWindowsEx(EWX_REBOOT, 0);
EnablePrivilege(SE_SHUTDOWN_NAME, FALSE);