summaryrefslogtreecommitdiff
path: root/src/login/pam-module.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-08-28 08:01:30 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-10-03 22:12:32 -0400
commit970edce6efcd3a0cf284aa0f43e0b27ecbd415f5 (patch)
tree71025d57f9efa8f2e69b303d6f379d9859d563d2 /src/login/pam-module.c
parente776c8cfcdd65d243ba3f156ded905c589cab24f (diff)
execute: more debugging messages
Diffstat (limited to 'src/login/pam-module.c')
-rw-r--r--src/login/pam-module.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/login/pam-module.c b/src/login/pam-module.c
index 49296b5d63..973daf703e 100644
--- a/src/login/pam-module.c
+++ b/src/login/pam-module.c
@@ -199,7 +199,8 @@ _public_ PAM_EXTERN int pam_sm_open_session(
dbus_error_init(&error);
- /* pam_syslog(handle, LOG_INFO, "pam-systemd initializing"); */
+ if (debug)
+ pam_syslog(handle, LOG_INFO, "pam-systemd initializing");
/* Make this a NOP on non-logind systems */
if (!logind_running())