1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-21 02:50:18 +03:00

test: restart logind before cleaning up sessions

Hopefully, fixes #24040.
This commit is contained in:
Yu Watanabe 2022-07-30 23:51:25 +09:00
parent 54d5c126d3
commit 3cf9c51e97

View File

@ -407,11 +407,11 @@ EOF
teardown_lock_idle_action() (
set +eux
cleanup_session
rm -f /run/systemd/logind.conf.d/idle-action-lock.conf
systemctl restart systemd-logind.service
cleanup_session
return 0
)