add additional check for mounts in the case of forgejo
This commit is contained in:
parent
46d511f08e
commit
41af04163b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue