Indefinite timeout not supported
axisofentropy opened this issue · comments
Adam Vollrath commented
The README and the usage both say that a timeout of 0 will retry forever. I don't see this in the code nor in my own experience.
Dominic commented
I'm having the same issue, tested it with
./wait-for -t 0 localhost:80
Instrant result:
Operation timed out
David Pilato commented
Agreed.
for i in `seq $TIMEOUT` ; do
seq 0
actually generates 1 0
which means that the loop is ran twice.
Luboš Zápotočný commented
any update on this?