From 970edce6efcd3a0cf284aa0f43e0b27ecbd415f5 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Wed, 28 Aug 2013 08:01:30 -0400 Subject: execute: more debugging messages --- src/login/pam-module.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/login') 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()) -- cgit v1.2.3-54-g00ecf