Skip to content

Commit

Permalink
Add -q to the grep (#1274)
Browse files Browse the repository at this point in the history
Returns the status instead of the grepped pattern
  • Loading branch information
tuxiqae committed May 7, 2021
1 parent 3795366 commit 91bb9c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Base/check-grid.sh
Expand Up @@ -27,4 +27,4 @@ do
esac
done

curl -sSL http://${HOST}:${PORT}/wd/hub/status | jq -r '.value.ready' | grep "true" || exit 1
curl -sSL http://${HOST}:${PORT}/wd/hub/status | jq -r '.value.ready' | grep -q "true" || exit 1

0 comments on commit 91bb9c9

Please sign in to comment.