projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
147d375
d60f6ad
)
Merge pull request #2430 from lnykryn/is-active-failed
author
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Mon, 25 Jan 2016 16:52:22 +0000
(11:52 -0500)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Mon, 25 Jan 2016 16:52:22 +0000
(11:52 -0500)
systemctl: is-active/failed should return 0 if at least one unit is in given state
Previously:
[lnykryn@notas lnykryn-systemd(is-active-failed)]$ systemctl is-failed fail cups; echo $?
failed
active
1
now:
[lnykryn@notas lnykryn-systemd(is-active-failed)]$ ./systemctl is-failed fail cups; echo $?
failed
active
0
Trivial merge