mirror of
https://github.com/systemd/systemd
synced 2024-07-21 18:24:38 +00:00
run: simplification
This commit is contained in:
parent
eab62c01ef
commit
b1358f0362
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue