mirror of
https://github.com/reactos/reactos.git
synced 2024-06-02 18:51:50 +00:00
GUI setup: Reenable autoreboot for live-testing
This commit is contained in:
parent
16670bdf62
commit
ef4dc5d417
|
@ -2901,7 +2901,7 @@ Quit:
|
||||||
/* Free the NT to Win32 path prefix mapping list */
|
/* Free the NT to Win32 path prefix mapping list */
|
||||||
FreeNtToWin32PathMappingList(&SetupData.MappingList);
|
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);
|
EnablePrivilege(SE_SHUTDOWN_NAME, TRUE);
|
||||||
ExitWindowsEx(EWX_REBOOT, 0);
|
ExitWindowsEx(EWX_REBOOT, 0);
|
||||||
EnablePrivilege(SE_SHUTDOWN_NAME, FALSE);
|
EnablePrivilege(SE_SHUTDOWN_NAME, FALSE);
|
||||||
|
|
Loading…
Reference in a new issue