diff options
| author | Tobias Wiese <tobias@tobiaswiese.com> | 2021-09-12 04:31:07 +0200 |
|---|---|---|
| committer | Tobias Wiese <tobias@tobiaswiese.com> | 2021-09-12 04:31:07 +0200 |
| commit | 0fe63202274fdfa8f563bbc53861ad3385cff2f7 (patch) | |
| tree | d5da57cb731f8614b3d22543482bf3c9f819670a /check_systemd | |
| parent | 8c50b6a970e32ccf8c80635257d7e36142eb72a9 (diff) | |
| parent | ff5186ae098f4c29a4c2490f02e61fc1bd9e01ca (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-x | check_systemd | 3 |
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 |
