mirror of
https://github.com/thegeeklab/retry.git
synced 2024-11-23 05:50:39 +00:00
chore: fix shellcheck SC2323 (#11)
This commit is contained in:
parent
0d0ae363f5
commit
b681751638
2
retry
2
retry
@ -9,7 +9,7 @@ __sleep_amount() {
|
||||
else
|
||||
#TODO: check for awk
|
||||
#TODO: check if user would rather use one of the other possible dependencies: python, ruby, bc, dc
|
||||
sleep_time=$(awk "BEGIN {t = $min_sleep * $(((1 << (_retry_attempts - 1)))); print (t > $max_sleep ? $max_sleep : t)}")
|
||||
sleep_time=$(awk "BEGIN {t = $min_sleep * $((1 << (_retry_attempts - 1))); print (t > $max_sleep ? $max_sleep : t)}")
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user