diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-07-02 15:49:27 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-07-02 15:49:27 +0200 |
commit | 8aec412ff697bc14995746953912ca6fdf2c9ba8 (patch) | |
tree | e88fe2eacac802ba521a6378871e1212f11dec2f /src/machine | |
parent | 97e67f1e52ddc0c21a88cfbcab57e83c59ee627d (diff) |
machined: sync to /run after job completed
Diffstat (limited to 'src/machine')
-rw-r--r-- | src/machine/machined-dbus.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/machine/machined-dbus.c b/src/machine/machined-dbus.c index 83a45b63ba..a81f37c5ca 100644 --- a/src/machine/machined-dbus.c +++ b/src/machine/machined-dbus.c @@ -116,7 +116,7 @@ static bool valid_machine_name(const char *p) { static int bus_manager_create_machine(Manager *manager, DBusMessage *message) { - const char *name, *service, *class, *slice, *root_directory; + const char *name, *service, *class, *root_directory; _cleanup_free_ char *p = NULL; DBusMessageIter iter, sub; MachineClass c; @@ -537,6 +537,7 @@ DBusHandlerResult bus_message_filter( if (streq_ptr(path, mm->scope_job)) { free(mm->scope_job); mm->scope_job = NULL; + machine_save(mm); if (mm->started) { if (streq(result, "done")) |