*.sh: apply fixes suggested by shellcheck
also: tweak some automatic fixes to be more readable fix automatically generated bash fixes for SSH options
This commit is contained in:
parent
b06e6dd916
commit
d9f254f9d1
7 changed files with 28 additions and 27 deletions
|
|
@ -6,7 +6,7 @@ function retry {
|
|||
local retries=5
|
||||
until "$@"; do
|
||||
exit=$?
|
||||
count=$(($count + 1))
|
||||
count=$((count + 1))
|
||||
if [[ $count -lt $retries ]]; then
|
||||
echo "Retrying command..."
|
||||
sleep 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue