mirror of
https://github.com/Yubico/yubico-pam.git
synced 2024-11-29 00:24:11 +01:00
correct debug message
This commit is contained in:
parent
2f69fb99e5
commit
8cb3752293
@ -135,8 +135,9 @@ int restore_privileges(pam_handle_t *pamh) {
|
||||
#ifdef HAVE_PAM_MODUTIL_DROP_PRIV
|
||||
int res;
|
||||
res = pam_modutil_regain_priv(pamh, _privs_location(0));
|
||||
if (res)
|
||||
D (("pam_modutil_drop_priv: %i", res));
|
||||
if (res) {
|
||||
D (("pam_modutil_regain_priv: %i", res));
|
||||
}
|
||||
/* re-initialize privs in case we want to drop privs again (sic) */
|
||||
_privs_location(1);
|
||||
return res;
|
||||
|
Loading…
Reference in New Issue
Block a user