diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-12-08 17:51:25 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-12-08 19:26:51 -0500 |
commit | 04504f93d147b12687d0745e50923740b10138c5 (patch) | |
tree | 581412778e75ec00cd92ceb32fd3f8356ff95691 /src | |
parent | d08e75edf9d44540d9744349fc0c47dfb4a7eec8 (diff) |
systemctl: fix 'is-enabled'
Diffstat (limited to 'src')
-rw-r--r-- | src/systemctl/systemctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 1ab27336d7..24a74c3bb6 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -4766,7 +4766,7 @@ static int unit_is_enabled(sd_bus *bus, char **args) { "GetUnitFileState", &error, &reply, - "s", name); + "s", *name); if (r < 0) { log_error("Failed to get unit file state for %s: %s", *name, bus_error_message(&error, r)); return r; |