summaryrefslogtreecommitdiffstats
path: root/check_systemd
diff options
context:
space:
mode:
authorTobias Wiese <tobias@tobiaswiese.com>2021-09-12 04:31:07 +0200
committerTobias Wiese <tobias@tobiaswiese.com>2021-09-12 04:31:07 +0200
commit0fe63202274fdfa8f563bbc53861ad3385cff2f7 (patch)
treed5da57cb731f8614b3d22543482bf3c9f819670a /check_systemd
parent8c50b6a970e32ccf8c80635257d7e36142eb72a9 (diff)
parentff5186ae098f4c29a4c2490f02e61fc1bd9e01ca (diff)
New upstream release: 1.1.1
1.1.1 Bug fixes: - When used with newer version of systemd, the failed unit list contains additional bullet points instead of the unit names Signed-off-by: Tobias Wiese <tobias@tobiaswiese.com>
Diffstat (limited to 'check_systemd')
-rwxr-xr-xcheck_systemd3
1 files changed, 2 insertions, 1 deletions
diff --git a/check_systemd b/check_systemd
index 9912c48..ce2af39 100755
--- a/check_systemd
+++ b/check_systemd
@@ -27,6 +27,7 @@ if [ "0" = "$FAILED_UNITS" ]; then
exit 0
else
printf "\nFailed units:\n"
- systemctl list-units --failed --no-legend | awk '{print "- " $1;}'
+ systemctl list-units --failed --plain --no-legend \
+ | awk '{print "- " $1;}'
exit 2
fi