projects
/
platform
/
upstream
/
systemd.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
298cb4e
..
2f11d6b
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") &&