summaryrefslogtreecommitdiffstats
path: root/src/shared/pam-util.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-01-21 05:14:15 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2024-02-01 10:00:54 +0100
commit88b8d0827691a6c9643c6bd06e73f4ab86dba578 (patch)
tree87081f5a504c044bbaea1fd75bc01969ebbff8c5 /src/shared/pam-util.c
parentpam: do not warn closing bus connection which is opened after the fork (diff)
downloadsystemd-88b8d0827691a6c9643c6bd06e73f4ab86dba578.tar.xz
systemd-88b8d0827691a6c9643c6bd06e73f4ab86dba578.zip
test: check pam warning message
Diffstat (limited to 'src/shared/pam-util.c')
-rw-r--r--src/shared/pam-util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/pam-util.c b/src/shared/pam-util.c
index fe58203e27..0e24af450d 100644
--- a/src/shared/pam-util.c
+++ b/src/shared/pam-util.c
@@ -95,6 +95,7 @@ static void pam_bus_data_destroy(pam_handle_t *handle, void *data, int error_sta
PamBusData *d = data;
if (FLAGS_SET(error_status, PAM_DATA_SILENT) &&
d->bus && bus_origin_changed(d->bus))
+ /* Please adjust test/units/end.sh when updating the log message. */
pam_syslog(handle, LOG_DEBUG, "Attempted to close sd-bus after fork whose connection is opened before the fork, this should not happen.");
pam_bus_data_free(data);