This commit is contained in:
Mike Griese 2021-09-22 15:57:44 -05:00
parent 5e9d0b8195
commit a3ac32ab25

View file

@ -1599,7 +1599,7 @@ namespace winrt::TerminalApp::implementation
{
// NOTE: For debugging purposes, changing this to `true || _isElevated()`
// is a handy way of forcing the elevation logic, even when unelevated.
if (true || _isElevated())
if (_isElevated())
{
// If the cmdline is EXACTLY an executable in
// `C:\WINDOWS\System32`, then ignore this check.