Use 127.0.0.1 not localhost in s3proxy wait loop

localhost doesn't always resolve to 127.0.0.1
This commit is contained in:
Robb Kistler 2015-09-16 00:06:41 -07:00
parent 489f9edec7
commit 3d5b8a7672

View File

@ -60,7 +60,7 @@ then
# wait for S3Proxy to start
for i in $(seq 30);
do
if exec 3<>"/dev/tcp/localhost/8080";
if exec 3<>"/dev/tcp/127.0.0.1/8080";
then
exec 3<&- # Close for read
exec 3>&- # Close for write