chiark / gitweb /
logind: when creating the scope job fails, return this immediately to the client...
[elogind.git] / src / machine / machine.c
index d75c3381890626268559d9831e4aede0fef33951..591a656f1ea192262dbb8ed57349ef4fe2307767 100644 (file)
@@ -247,6 +247,7 @@ static int machine_start_scope(Machine *m) {
                         dbus_error_free(&error);
 
                         free(scope);
+                        return r;
                 } else {
                         m->scope = scope;