chiark / gitweb /
systemctl: fix enable/disable reply handling
authorKay Sievers <kay@vrfy.org>
Tue, 26 Nov 2013 04:19:04 +0000 (05:19 +0100)
committerKay Sievers <kay@vrfy.org>
Tue, 26 Nov 2013 04:19:39 +0000 (05:19 +0100)
src/systemctl/systemctl.c

index 23399c1..1d119c9 100644 (file)
@@ -4549,7 +4549,7 @@ static int enable_unit(sd_bus *bus, char **args) {
                                 return bus_log_parse_error(r);
                 }
 
-                r = deserialize_and_dump_unit_file_changes(m);
+                r = deserialize_and_dump_unit_file_changes(reply);
                 if (r < 0)
                         return r;