We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad31fbd commit 39ffeadCopy full SHA for 39ffead
systemd/crc-systemd-common.sh
@@ -6,7 +6,7 @@ function wait_for_resource() {
6
local wait_sec=${3:-5}
7
until oc get "$1" > /dev/null 2>&1
8
do
9
- [ $retry == $max_retry ] && exit 1
+ [[ "$retry" -ge "$max_retry" ]] && exit 1
10
sleep $wait_sec
11
((retry++))
12
done
0 commit comments