summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2014-01-08 18:20:02 +0800
committerKay Sievers <kay@vrfy.org>2014-01-08 18:20:02 +0800
commit743e7e5242b72dac182b4c15ff3a48be83277ece (patch)
treeb445ddf401cbdd3f585edd967fb25f406dbcc0f6
parent2b197ae21c4a3571024fba1886eeeb87c0dfcf03 (diff)
bus-driverd: properly reply to UpdateActivationEnvironment call
-rw-r--r--src/bus-driverd/bus-driverd.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/bus-driverd/bus-driverd.c b/src/bus-driverd/bus-driverd.c
index eee3ffebcb..7e0ad1e0c0 100644
--- a/src/bus-driverd/bus-driverd.c
+++ b/src/bus-driverd/bus-driverd.c
@@ -767,7 +767,11 @@ static int driver_update_environment(sd_bus*bus, sd_bus_message *m, void *userda
if (r < 0)
return r;
- return sd_bus_call(bus, msg, 0, NULL, NULL);
+ r = sd_bus_call(bus, msg, 0, NULL, NULL);
+ if (r < 0)
+ return r;
+
+ return sd_bus_reply_method_return(m, NULL);
}
static int driver_unsupported(sd_bus *bus, sd_bus_message *m, void *userdata, sd_bus_error *error) {