Parcourir la source

correct check_bro.sh to ignore 'Getting status' messages

Michael Downey il y a 11 ans
Parent
commit
106e6efc2d
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      check_bro.sh

+ 1 - 1
check_bro.sh

@@ -207,7 +207,7 @@ if [ $STATUS_CHECK -eq 1 ]; then
 # Broctl stderr is whitespace separated and we need to match on entire line
 IFS=$'\n'
 
-  for line in $($BROCTL status 2>&1 | grep -v 'Name\|waiting')
+  for line in $($BROCTL status 2>&1 | grep -v 'Name\|waiting\|Getting')
   do
     NAME=$(echo "$line" | awk '{ print $1 }')
     case "$line" in