*.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:
Martin Sehnoutka 2020-09-18 09:31:28 +02:00 committed by Ondřej Budai
parent b06e6dd916
commit d9f254f9d1
7 changed files with 28 additions and 27 deletions

View file

@ -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