summaryrefslogtreecommitdiffstats
path: root/src/login/pam_systemd.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-01-09 12:58:00 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-01-10 15:56:02 +0100
commitc7e93c4d15019323973baf12daa76357c83892c4 (patch)
tree36dd1e7adf6c61d35e52e4c24dbf7a04a6a37b24 /src/login/pam_systemd.c
parentnss: prevent PROTECT_ERRNO from squashing changes to *errnop (diff)
downloadsystemd-c7e93c4d15019323973baf12daa76357c83892c4.tar.xz
systemd-c7e93c4d15019323973baf12daa76357c83892c4.zip
pam_systemd: reword message about not creating a session
The message is changed from Cannot create session: Already running in a session... to Not creating session: Already running in a session... This is more neutral and avoids suggesting a problem. "Will not create session: ..." was suggested, but it sounds like the action would have yet to be performed. I think Using present continuous is better. Fixes #10822 (for good now, I hope).
Diffstat (limited to '')
-rw-r--r--src/login/pam_systemd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/pam_systemd.c b/src/login/pam_systemd.c
index d466e50969..0600c179d5 100644
--- a/src/login/pam_systemd.c
+++ b/src/login/pam_systemd.c
@@ -595,7 +595,7 @@ _public_ PAM_EXTERN int pam_sm_open_session(
if (r < 0) {
if (sd_bus_error_has_name(&error, BUS_ERROR_SESSION_BUSY)) {
if (debug)
- pam_syslog(handle, LOG_DEBUG, "Cannot create session: %s", bus_error_message(&error, r));
+ pam_syslog(handle, LOG_DEBUG, "Not creating session: %s", bus_error_message(&error, r));
return PAM_SUCCESS;
} else {
pam_syslog(handle, LOG_ERR, "Failed to create session: %s", bus_error_message(&error, r));