Skip to content

Commit

Permalink
Merge pull request jonschipp#8 from mikedowney01/master
Browse files Browse the repository at this point in the history
correct check_bro.sh to ignore 'Getting status' messages
  • Loading branch information
jonschipp committed Aug 13, 2015
2 parents b5e16c8 + 106e6ef commit 49a5837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check_bro.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 49a5837

Please sign in to comment.