mirror of
https://github.com/Open-Shell/Open-Shell-Menu.git
synced 2026-08-09 17:41:11 +10:00
Allow automatic restart sign-on (ARSO)
This commit is contained in:
@@ -989,7 +989,7 @@ static bool ExecuteShutdownCommand(TMenuID menuCommand)
|
|||||||
if (!ProceedWithShutdown(flags))
|
if (!ProceedWithShutdown(flags))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
flags |= SHUTDOWN_FORCE_OTHERS;
|
flags |= SHUTDOWN_FORCE_OTHERS | SHUTDOWN_ARSO;
|
||||||
|
|
||||||
if (SetShutdownPrivileges())
|
if (SetShutdownPrivileges())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user