systemctl: is-active/failed should return 0 if at least one unit is in given state
authorLukas Nykryn <lnykryn@redhat.com>
Mon, 25 Jan 2016 14:21:28 +0000 (15:21 +0100)
committerLukas Nykryn <lnykryn@redhat.com>
Mon, 25 Jan 2016 14:21:28 +0000 (15:21 +0100)
commitd60f6ad0cb690d920b8acbfb545bad29554609f1
tree30e63a79743c1bd737f04fb8ec3a426a14489ce6
parent147d3751d8279bcc294721ec115961e7a7565239
systemctl: is-active/failed should return 0 if at least one unit is in given state

Previously we have return the not-found code, in the case that we found a
unit which does not belong to set active (resp. failed), which is the
opposite than what is written in man page.
src/systemctl/systemctl.c