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 Feb 15, 2021
1 parent 2ecb8bf commit 4f4026a
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 4f4026a

Please sign in to comment.