mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-31 01:35:11 +02:00
Added missed change in previous commit
This commit is contained in:
parent
5bea3a3759
commit
4a1980e059
@ -51,7 +51,7 @@ get_user_root(struct agent_connection* con, HKEY *root)
|
|||||||
*root = HKEY_LOCAL_MACHINE;
|
*root = HKEY_LOCAL_MACHINE;
|
||||||
|
|
||||||
if (con->client_type <= ADMIN_USER) {
|
if (con->client_type <= ADMIN_USER) {
|
||||||
if (ImpersonateLoggedOnUser(con->client_impersonation_token == FALSE))
|
if (ImpersonateLoggedOnUser(con->client_impersonation_token) == FALSE)
|
||||||
return -1;
|
return -1;
|
||||||
*root = NULL;
|
*root = NULL;
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user