diff options
-rw-r--r-- | src/run/run.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/run/run.c b/src/run/run.c index 2ae629f595..4cb4478cf8 100644 --- a/src/run/run.c +++ b/src/run/run.c @@ -643,11 +643,7 @@ static int transient_unit_set_properties(sd_bus_message *m, UnitType t, char **p return bus_log_create_error(r); } - r = bus_append_unit_property_assignment_many(m, t, properties); - if (r < 0) - return r; - - return 0; + return bus_append_unit_property_assignment_many(m, t, properties); } static int transient_cgroup_set_properties(sd_bus_message *m) { |