summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-12-08 17:51:25 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-12-08 19:26:51 -0500
commit04504f93d147b12687d0745e50923740b10138c5 (patch)
tree581412778e75ec00cd92ceb32fd3f8356ff95691 /src
parentd08e75edf9d44540d9744349fc0c47dfb4a7eec8 (diff)
systemctl: fix 'is-enabled'
Diffstat (limited to 'src')
-rw-r--r--src/systemctl/systemctl.c2
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;