Skip to content

Commit

Permalink
prime-select.sh: fix 'user_logout_waiter' for lightdm autologin (issu…
Browse files Browse the repository at this point in the history
…e#92)
  • Loading branch information
sndirsch committed Dec 7, 2022
1 parent 12a5d42 commit 165860a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prime-select.sh
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,7 @@ case $type in

lightdm )
#lightdm_mode
until [ "$(journalctl --since "$currtime" -e | grep "pam_unix(lightdm:session): session closed")" > /dev/null ]; do
until [ "$(journalctl --since "$currtime" -e | grep "pam_unix(lightdm.*:session): session closed")" > /dev/null ]; do
sleep 0.5s
done
logging "user_logout_waiter: X restart detected, preparing switch to $2"
Expand Down

0 comments on commit 165860a

Please sign in to comment.