Cygwin: user profile: add debug output to unload_user_profile
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
71b8777a71
commit
8eee25241e
@ -309,7 +309,10 @@ load_user_profile (HANDLE token, struct passwd *pw, cygpsid &usersid)
|
|||||||
bool
|
bool
|
||||||
unload_user_profile (HANDLE token, HANDLE profile)
|
unload_user_profile (HANDLE token, HANDLE profile)
|
||||||
{
|
{
|
||||||
return UnloadUserProfile (token, profile);
|
bool ret = UnloadUserProfile (token, profile);
|
||||||
|
if (!ret)
|
||||||
|
debug_printf ("UnloadUserProfile, %E");
|
||||||
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
HANDLE
|
HANDLE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user