Fix wrong elevate information #5041
This commit is contained in:
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
|
||||
|
|
Loading…
Reference in New Issue