diff --git a/inotify.sh b/inotify.sh index 9beed09..5839c61 100644 --- a/inotify.sh +++ b/inotify.sh @@ -39,7 +39,7 @@ inotifywait -m /out -e close_write | curl --location "$UPLOAD_URL" \ --header "Authorization: Bearer $AUTH_TOKEN" \ --form "recording_id=${file%.mp4}" \ - --form "chunk_index=${i} \ + --form "chunk_index=${i}" \ --form "total_chunks=${num_chunks}" \ --form "file=@$temp_chunk_file"