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:
51cfdda
)
systemctl: fix detection of active units
author
Lennart Poettering
<lennart@poettering.net>
Thu, 1 Jul 2010 13:19:45 +0000
(15:19 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 1 Jul 2010 13:19:45 +0000
(15:19 +0200)
src/systemctl.c
patch
|
blob
|
history
diff --git
a/src/systemctl.c
b/src/systemctl.c
index d6f4709c42d34a34023392cbd6a139be5f1ce4c5..390cec9f9a792715a954951a1412be9bc4936cab 100644
(file)
--- a/
src/systemctl.c
+++ b/
src/systemctl.c
@@
-969,7
+969,7
@@
static int check_unit(DBusConnection *bus, char **args, unsigned n) {
if (!arg_quiet)
puts(state);
- if (streq(state, "active") || startswith(state, "
active-
"))
+ if (streq(state, "active") || startswith(state, "
reloading
"))
r = 0;
dbus_message_unref(m);