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:
parent
54d5c126d3
commit
3cf9c51e97
@ -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
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user