diff options
| -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 |
