projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70b4f81
)
bus-util: add in forgotten error messages
author
Lennart Poettering
<lennart@poettering.net>
Wed, 18 Nov 2015 11:19:15 +0000
(12:19 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 18 Nov 2015 16:04:04 +0000
(17:04 +0100)
src/shared/bus-util.c
patch
|
blob
|
history
diff --git
a/src/shared/bus-util.c
b/src/shared/bus-util.c
index
73ceeba
..
68b86c3
100644
(file)
--- a/
src/shared/bus-util.c
+++ b/
src/shared/bus-util.c
@@
-1428,16
+1428,19
@@
int bus_append_unit_property_assignment(sd_bus_message *m, const char *assignmen
return bus_log_create_error(r);
return 0;
+
} else if (streq(field, "EnvironmentFile")) {
+
r = sd_bus_message_append_basic(m, SD_BUS_TYPE_STRING, "EnvironmentFiles");
if (r < 0)
- return
r
;
+ return
bus_log_create_error(r)
;
r = sd_bus_message_append(m, "v", "a(sb)", 1,
eq[0] == '-' ? eq + 1 : eq,
eq[0] == '-');
if (r < 0)
- return r;
+ return bus_log_create_error(r);
+
return 0;
}