From: Sven Eden Date: Mon, 3 Jul 2017 12:48:37 +0000 (+0200) Subject: Re-add the saving of the user state file when creating a new session. X-Git-Tag: v231.4~1 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=d422cfe2a7a8253eb28e9b2c7e6192307f96383e Re-add the saving of the user state file when creating a new session. --- diff --git a/src/login/logind-session-dbus.c b/src/login/logind-session-dbus.c index d51743393..7b45f7830 100644 --- a/src/login/logind-session-dbus.c +++ b/src/login/logind-session-dbus.c @@ -772,6 +772,10 @@ int session_send_create_reply(Session *s, sd_bus_error *error) { * about the result. */ session_save(s); +#if 1 /// Additionally elogind saves the user state file + user_save(s->user); +#endif // 1 + p = session_bus_path(s); if (!p) return -ENOMEM;