chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b911442
)
systemctl: fix typo in 'is-enabled'
author
Michal Schmidt
<mschmidt@redhat.com>
Wed, 14 Dec 2011 21:23:56 +0000
(22:23 +0100)
committer
Michal Schmidt
<mschmidt@redhat.com>
Thu, 15 Dec 2011 20:03:02 +0000
(21:03 +0100)
It prevented the action from working without dbus.
src/systemctl.c
patch
|
blob
|
history
diff --git
a/src/systemctl.c
b/src/systemctl.c
index 298cb4ee5c4f9edab5248b92d67571b25ce6475b..2f11d6bc1d09bd2bffeb914d3c9c6d8d8eaa3e38 100644
(file)
--- 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-enable
d
") &&
!streq(verbs[i].verb, "list-unit-files") &&
!streq(verbs[i].verb, "reenable") &&
!streq(verbs[i].verb, "preset") &&