summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2011-12-14 22:23:56 +0100
committerMichal Schmidt <mschmidt@redhat.com>2011-12-15 21:03:02 +0100
commitc971700e41e0ac9883ab0744921b79dd396170dc (patch)
treeaafe90da11c12f8fda76855b08170800706d9cd9
parentb911442003350c56673e5689328f173ed03bbabd (diff)
systemctl: fix typo in 'is-enabled'
It prevented the action from working without dbus.
-rw-r--r--src/systemctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl.c b/src/systemctl.c
index 298cb4ee5c..2f11d6bc1d 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") &&