Compare commits

..

2 commits

2 changed files with 2 additions and 1 deletions

View file

@ -23,6 +23,7 @@
servicesToCheck = [
"caddy"
"forgejo"
"postgresql"
"runner"
"sftpgo"
"zfs-zed"

View file

@ -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