test: restart logind before cleaning up sessions

Hopefully, fixes #24040.
This commit is contained in:
Yu Watanabe
2022-07-31 00:15:47 +09:00
parent 54d5c126d3
commit 3cf9c51e97
+2 -2
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
)