X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsystemctl.xml;h=f86952c683092e73ea50e95affd13bc63cdee136;hp=62446d7a5747b407858870dc31a6ccdc34c98db4;hb=1a0fce458d3b45624c5817006735d59a5689ef83;hpb=c8be47e81568629f8ae9135ab2219de0180c04ac diff --git a/man/systemctl.xml b/man/systemctl.xml index 62446d7a5..f86952c68 100644 --- a/man/systemctl.xml +++ b/man/systemctl.xml @@ -198,6 +198,7 @@ STDOUT in snapshot, is-active, + is-failed, enable and disable. @@ -600,6 +601,18 @@ this will also print the current unit state to STDOUT. + + is-failed [NAME...] + + Check whether any of + the specified units are failed. + Returns an exit code + 0 if at least one is failed, non-zero + otherwise. Unless + is specified + this will also print the current unit + state to STDOUT. + status [NAME...|PID...]