diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-01-25 11:52:22 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-01-25 11:52:22 -0500 |
commit | 7b213864afe455c39fa3f4365dd7149077fc3695 (patch) | |
tree | 30e63a79743c1bd737f04fb8ec3a426a14489ce6 /src/udev/udev-builtin-net_id.c | |
parent | 147d3751d8279bcc294721ec115961e7a7565239 (diff) | |
parent | d60f6ad0cb690d920b8acbfb545bad29554609f1 (diff) |
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
Diffstat (limited to 'src/udev/udev-builtin-net_id.c')
0 files changed, 0 insertions, 0 deletions