From c971700e41e0ac9883ab0744921b79dd396170dc Mon Sep 17 00:00:00 2001 From: Michal Schmidt Date: Wed, 14 Dec 2011 22:23:56 +0100 Subject: [PATCH] systemctl: fix typo in 'is-enabled' It prevented the action from working without dbus. --- src/systemctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/systemctl.c b/src/systemctl.c index 298cb4ee5..2f11d6bc1 100644 --- a/src/systemctl.c +++ b/src/systemctl.c @@ -4998,7 +4998,7 @@ static int systemctl_main(DBusConnection *bus, int argc, char *argv[], DBusError * enable/disable */ if (!streq(verbs[i].verb, "enable") && !streq(verbs[i].verb, "disable") && - !streq(verbs[i].verb, "is-enable") && + !streq(verbs[i].verb, "is-enabled") && !streq(verbs[i].verb, "list-unit-files") && !streq(verbs[i].verb, "reenable") && !streq(verbs[i].verb, "preset") && -- 2.30.2