mirror of
https://github.com/systemd/systemd.git
synced 2025-09-01 13:59:26 +03:00
pam-systemd: remove duplicate error logging
This commit is contained in:
@ -461,10 +461,8 @@ _public_ PAM_EXTERN int pam_sm_open_session(
|
|||||||
pam_syslog(handle, LOG_DEBUG, "pam-systemd initializing");
|
pam_syslog(handle, LOG_DEBUG, "pam-systemd initializing");
|
||||||
|
|
||||||
r = get_user_data(handle, &username, &pw);
|
r = get_user_data(handle, &username, &pw);
|
||||||
if (r != PAM_SUCCESS) {
|
if (r != PAM_SUCCESS)
|
||||||
pam_syslog(handle, LOG_ERR, "Failed to get user data.");
|
|
||||||
return r;
|
return r;
|
||||||
}
|
|
||||||
|
|
||||||
/* Make sure we don't enter a loop by talking to
|
/* Make sure we don't enter a loop by talking to
|
||||||
* systemd-logind when it is actually waiting for the
|
* systemd-logind when it is actually waiting for the
|
||||||
|
Reference in New Issue
Block a user