summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-07-02 15:49:27 +0200
committerLennart Poettering <lennart@poettering.net>2013-07-02 15:49:27 +0200
commit8aec412ff697bc14995746953912ca6fdf2c9ba8 (patch)
treee88fe2eacac802ba521a6378871e1212f11dec2f /src/login
parent97e67f1e52ddc0c21a88cfbcab57e83c59ee627d (diff)
machined: sync to /run after job completed
Diffstat (limited to 'src/login')
-rw-r--r--src/login/logind-dbus.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/login/logind-dbus.c b/src/login/logind-dbus.c
index 9a19932af4..e61ec7afd5 100644
--- a/src/login/logind-dbus.c
+++ b/src/login/logind-dbus.c
@@ -2356,6 +2356,7 @@ DBusHandlerResult bus_message_filter(
if (streq_ptr(path, s->scope_job)) {
free(s->scope_job);
s->scope_job = NULL;
+ session_save(s);
if (s->started) {
if (streq(result, "done"))
@@ -2382,6 +2383,7 @@ DBusHandlerResult bus_message_filter(
u->slice_job = NULL;
}
+ user_save(u);
user_add_to_gc_queue(u);
}
}