mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 15:33:55 +02:00
1b5f3c5e70
try_repeat tries to run a command n times, exiting early if the command exits with a non-zero exit code. This is useful when trying to find intermittent failures in a command. port from Laurence Tratt (laurie [at] tratt [dot] net); thanks! ok edd@
4 lines
176 B
Plaintext
4 lines
176 B
Plaintext
try_repeat tries to run a command n times, exiting early if the command exits
|
|
with a non-zero exit code. This is useful when trying to find intermittent
|
|
failures in a command.
|