Fix shellcheck errors
This commit is contained in:
parent
b5f302ac61
commit
dc999f9006
15 changed files with 108 additions and 98 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue