From: Zbigniew Jędrzejewski-Szmek Date: Mon, 25 Jan 2016 16:52:22 +0000 (-0500) Subject: Merge pull request #2430 from lnykryn/is-active-failed X-Git-Tag: v229~92 X-Git-Url: http://git-history.diyao.me/?a=commitdiff_plain;h=7b213864afe455c39fa3f4365dd7149077fc3695;p=systemd%2F.git Merge pull request #2430 from lnykryn/is-active-failed 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 --- 7b213864afe455c39fa3f4365dd7149077fc3695