Fix shellcheck errors

This commit is contained in:
jo 2021-08-16 17:44:19 +02:00
parent b5f302ac61
commit dc999f9006
15 changed files with 108 additions and 98 deletions

View file

@ -9,7 +9,7 @@ post_file() {
retry_count=0
until curl --max-time 30 http://localhost/rest/media -u 3188BDIMPJROQP89Z0OX: -X POST -F "file=@${file_path}" -F "name=${filename}"; do
retry_count=$(($retry_count + 1))
retry_count=$((retry_count + 1))
if [ $retry_count -ge $max_retry ]; then
break
fi