Skip to content

Commit

Permalink
Don't grep "jq" error output
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiX authored and diemol committed Oct 13, 2019
1 parent 85640f8 commit 9dbcb5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/zalenium.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ WaitSeleniumHub()
# Other option is to wait for certain text at
# logs/stdout.zalenium.hub.log
while ! curl -sSL "http://localhost:4444${CONTEXT_PATH}/wd/hub/status" 2>&1 \
| jq -r '.status' 2>&1 | grep "0" >/dev/null; do
| jq -r '.status' 2>/dev/null | grep "0" >/dev/null; do
echo -n '.'
sleep 0.2
done
Expand Down

0 comments on commit 9dbcb5d

Please sign in to comment.