summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-11-18 12:19:15 +0100
committerLennart Poettering <lennart@poettering.net>2015-11-18 17:04:04 +0100
commitcdf578ef1165c31bcd17322f3b18372bcd993e46 (patch)
tree38a44cef265b5636b3f5f481ef62dc0c81dbd43b
parent70b4f8197008e04f7b4f12cead3f616db5cbba3c (diff)
bus-util: add in forgotten error messages
-rw-r--r--src/shared/bus-util.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/shared/bus-util.c b/src/shared/bus-util.c
index 73ceeba18f..68b86c3fb0 100644
--- 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;
}