diff options
author | Kay Sievers <kay@vrfy.org> | 2014-01-08 11:20:02 +0100 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2014-01-08 11:20:02 +0100 |
commit | 743e7e5242b72dac182b4c15ff3a48be83277ece (patch) | |
tree | b445ddf401cbdd3f585edd967fb25f406dbcc0f6 /src/bus-driverd | |
parent | dbus1-generator: install user version (diff) | |
download | systemd-743e7e5242b72dac182b4c15ff3a48be83277ece.tar.xz systemd-743e7e5242b72dac182b4c15ff3a48be83277ece.zip |
bus-driverd: properly reply to UpdateActivationEnvironment call
Diffstat (limited to 'src/bus-driverd')
-rw-r--r-- | src/bus-driverd/bus-driverd.c | 6 |
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) { |