We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2404d52 commit dd500edCopy full SHA for dd500ed
wait_for_local_port.bash
@@ -5,7 +5,7 @@ wait_for_local_port() {
5
local count=0
6
local ret=1
7
echo "waiting for S3:$port"
8
- while [[ "$ret" -eq "10" && "$count" -lt "$timeout" ]] ; do
+ while [[ "$ret" -eq "1" && "$count" -lt "$timeout" ]] ; do
9
nc -z -w 1 localhost $port
10
ret=$?
11
if [ ! "$ret" -eq "0" ]; then
0 commit comments