Skip to content

Commit

Permalink
[BF] work around bash bug which leaks named pipe descriptors
Browse files Browse the repository at this point in the history
  • Loading branch information
nickhilliard committed Oct 7, 2020
1 parent 2c0dd11 commit fe1bba4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/runtime/nagios/ixp-manager-check-switch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ else
RETCODE=2;
fi

while read line; do
echo $STATUS | jq -r '.msgs[]' | while read line; do
echo -n "${line} "
done< <(echo $STATUS | jq -r '.msgs[]')
done

echo

Expand Down

0 comments on commit fe1bba4

Please sign in to comment.