Commit 78ab361c authored by Colin Guthrie's avatar Colin Guthrie Committed by Lennart Poettering

logind: Avoid unnecesary rewrite of user file when switching sessions of the same user.

parent 23bd3b62
......@@ -263,7 +263,8 @@ int seat_set_active(Seat *s, Session *session) {
if (old_active) {
if (!session || session->user != old_active->user)
return 0;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment