Note that we're using `timeout_interval / number_tries + number_tries` (while your [interim solution][1] didn't add `number_tries` to the result). Yes, the results will often be, err, "less correct" compared to the floating point division, but I think this might be good enough for us. Especially as we didn't add a fancy `--retries` flag like you did :-)
But thanks for the hint! [1]: https://github.com/nagios-plugins/nagios-plugins/commit/05a63d8c3e83cc006b6168efe61b9922f2d14ecf --- Reply to this email directly or view it on GitHub: https://github.com/monitoring-plugins/monitoring-plugins/commit/e33ecc84c7ebdf4af3e8649a326e8a5acc9fe5b6#commitcomment-5227804
