systemctl: fix enable/disable reply handling

This commit is contained in:
Kay Sievers 2013-11-26 05:19:04 +01:00
parent baae0358f3
commit cc3f2093f6

View 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;