From e0571f66575ccc201b06bc26faad56678b939eb4 Mon Sep 17 00:00:00 2001 From: eoli3n Date: Sat, 7 Nov 2020 09:32:54 +0100 Subject: [PATCH] fixed systemd waybar module --- roles/waybar/files/waybar/modules/systemd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/waybar/files/waybar/modules/systemd.sh b/roles/waybar/files/waybar/modules/systemd.sh index 1f5370e..492c1e1 100755 --- a/roles/waybar/files/waybar/modules/systemd.sh +++ b/roles/waybar/files/waybar/modules/systemd.sh @@ -1,6 +1,6 @@ #!/bin/bash -if ! systemctl is-system-running | grep running +if ! systemctl is-system-running then echo $(systemctl is-system-running) $(systemctl list-units --failed --plain --no-legend --full | wc -l) exit 0