projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eab62c0
)
run: simplification
author
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Tue, 16 Aug 2022 16:41:00 +0000
(18:41 +0200)
committer
Yu Watanabe
<watanabe.yu+github@gmail.com>
Tue, 16 Aug 2022 22:08:37 +0000
(07:08 +0900)
src/run/run.c
patch
|
blob
|
history
diff --git
a/src/run/run.c
b/src/run/run.c
index 2ae629f595861354bac0d4e8662bd5e34781dd54..4cb4478cf8fe82020881256ccc07bb4749d2dfd8 100644
(file)
--- 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) {