diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2019-02-23 20:46:48 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2019-02-23 20:46:48 +0100 |
commit | 8eee25241e86fc596acde25c7c53723b75afee30 (patch) | |
tree | 2241e19a5dadf9ac45ab61115cccf19fca61a18a | |
parent | 71b8777a7140b79942d6e5079818cad2c3f5f07f (diff) | |
download | cygnal-8eee25241e86fc596acde25c7c53723b75afee30.tar.gz cygnal-8eee25241e86fc596acde25c7c53723b75afee30.tar.bz2 cygnal-8eee25241e86fc596acde25c7c53723b75afee30.zip |
Cygwin: user profile: add debug output to unload_user_profile
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
-rw-r--r-- | winsup/cygwin/sec_auth.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/winsup/cygwin/sec_auth.cc b/winsup/cygwin/sec_auth.cc index 59ee55339..a4e7458b3 100644 --- a/winsup/cygwin/sec_auth.cc +++ b/winsup/cygwin/sec_auth.cc @@ -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 |