Merge pull request #268 from RobbKistler/loopback

Use 127.0.0.1 not localhost in s3proxy wait loop
This commit is contained in:
Takeshi Nakatani 2015-09-28 22:12:29 +09:00
commit 48f0a6f811

View File

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