[systemd-commits] src/bus-driverd

Kay Sievers kay at kemper.freedesktop.org
Wed Jan 8 02:22:00 PST 2014


 src/bus-driverd/bus-driverd.c |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

New commits:
commit 743e7e5242b72dac182b4c15ff3a48be83277ece
Author: Kay Sievers <kay at vrfy.org>
Date:   Wed Jan 8 18:20:02 2014 +0800

    bus-driverd: properly reply to UpdateActivationEnvironment call

diff --git a/src/bus-driverd/bus-driverd.c b/src/bus-driverd/bus-driverd.c
index eee3ffe..7e0ad1e 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) {



More information about the systemd-commits mailing list