mirror of
https://github.com/PowerShell/Win32-OpenSSH.git
synced 2025-07-26 07:25:25 +02:00
Merge branch 'L1-Prod' of https://github.com/PowerShell/Win32-OpenSSH.git
This commit is contained in:
commit
427f8af803
@ -813,7 +813,7 @@ do_exec_no_pty(Session *s, const char *command)
|
|||||||
|
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
else {
|
else if (s->ttyfd != -1) { /*attach to shell console */
|
||||||
FreeConsole();
|
FreeConsole();
|
||||||
if (!debug_flag)
|
if (!debug_flag)
|
||||||
ImpersonateLoggedOnUser(hToken);
|
ImpersonateLoggedOnUser(hToken);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user