Explorar o código

correct check_bro.sh to ignore 'Getting status' messages

Michael Downey %!s(int64=11) %!d(string=hai) anos
pai
achega
106e6efc2d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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