mrako / wait-for

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No output on success case

chrisinmtown opened this issue · comments

Would like a success message, that can be suppressed by -q. I suggest adding this about line 30:

if [ "$QUIET" -ne 1 ]; then echo "Operation succeeded on try $i"; fi

Thanks for the script.

commented

Is this different than just invoking something like ./wait-for google.com:80 -t 4 -- echo "Operation succeeded" ?