From 41af04163bac11ef32280069d6de9f2bb750fded Mon Sep 17 00:00:00 2001 From: tdback Date: Mon, 18 Nov 2024 19:03:18 -0500 Subject: [PATCH] add additional check for mounts in the case of forgejo --- modules/motd/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/motd/default.nix b/modules/motd/default.nix index d4afa68..eaefd3d 100644 --- a/modules/motd/default.nix +++ b/modules/motd/default.nix @@ -49,7 +49,7 @@ let printf "''${BOLD}Service status:$ENDCOLOR\n" while IFS= read -r line; do - if [[ ! $line =~ ".service" ]]; then + if [[ ! $line =~ ".service" ]] || [[ $line =~ ".mount" ]]; then continue fi if echo "$line" | grep -q 'failed'; then