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
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue