Skip to content

Commit 91bb9c9

Browse files
authored
Add -q to the grep (#1274)
Returns the status instead of the grepped pattern
1 parent 3795366 commit 91bb9c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Base/check-grid.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ do
2727
esac
2828
done
2929

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

0 commit comments

Comments
 (0)