diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-01-21 05:14:15 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-02-01 10:00:54 +0100 |
commit | 88b8d0827691a6c9643c6bd06e73f4ab86dba578 (patch) | |
tree | 87081f5a504c044bbaea1fd75bc01969ebbff8c5 /src/shared/pam-util.c | |
parent | pam: do not warn closing bus connection which is opened after the fork (diff) | |
download | systemd-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.c | 1 |
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); |