summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/login/logind-session.c1
-rw-r--r--src/machine/machine.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/login/logind-session.c b/src/login/logind-session.c
index 2892c38417..3c67f86b17 100644
--- a/src/login/logind-session.c
+++ b/src/login/logind-session.c
@@ -480,6 +480,7 @@ static int session_start_scope(Session *s) {
dbus_error_free(&error);
free(scope);
+ return r;
} else {
s->scope = scope;
diff --git a/src/machine/machine.c b/src/machine/machine.c
index d75c338189..591a656f1e 100644
--- a/src/machine/machine.c
+++ b/src/machine/machine.c
@@ -247,6 +247,7 @@ static int machine_start_scope(Machine *m) {
dbus_error_free(&error);
free(scope);
+ return r;
} else {
m->scope = scope;