mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-12 14:45:21 +08:00
Fix wrong elevate information #5041
This commit is contained in:
committed by
Xinyu Hou
parent
70104190e4
commit
3ce078f0e8
@@ -293,7 +293,7 @@ MSWindowsWatchdog::startProcess()
|
||||
|
||||
ZeroMemory(&sa, sizeof(SECURITY_ATTRIBUTES));
|
||||
HANDLE userToken = getUserToken(&sa);
|
||||
m_elevateProcess = m_autoElevated;
|
||||
m_elevateProcess = m_autoElevated ? m_autoElevated : m_elevateProcess;
|
||||
m_autoElevated = false;
|
||||
|
||||
// patch by Jack Zhou and Henry Tung
|
||||
|
||||
Reference in New Issue
Block a user