chiark / gitweb /
Prep 234: Rename pam-systemd to pam-elogind in pam module init log message.
authorSven Eden <yamakuzure@gmx.net>
Wed, 26 Jul 2017 13:13:56 +0000 (15:13 +0200)
committerSven Eden <yamakuzure@gmx.net>
Wed, 26 Jul 2017 13:13:56 +0000 (15:13 +0200)
src/login/pam_elogind.c

index dab082a26ee9269f69b8d895bdef72c13a090553..472abdede3299444d487e381f3609ec66e828c77 100644 (file)
@@ -244,7 +244,11 @@ _public_ PAM_EXTERN int pam_sm_open_session(
                 return PAM_SESSION_ERR;
 
         if (debug)
+#if 0 /// This is pam-elogind, not pam-systemd
                 pam_syslog(handle, LOG_DEBUG, "pam-systemd initializing");
+#else
+                pam_syslog(handle, LOG_DEBUG, "pam-systemd initializing");
+#endif // 0
 
         r = get_user_data(handle, &username, &pw);
         if (r != PAM_SUCCESS) {