mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09:00
test: restart logind before cleaning up sessions
Hopefully, fixes #24040.
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user