use busybox
This commit is contained in:
parent
ce13aa03b9
commit
59547f3fb7
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ inotifywait -m /out -e close_write |
|
|||
chunk_size="$CHUNK_SIZE"
|
||||
id="${FILE%.mp4}"
|
||||
|
||||
file_size=$(stat -c%s "$file_path")
|
||||
file_size=$(busybox stat -c%s "$file_path")
|
||||
num_chunks=$(( (file_size + chunk_size - 1) / chunk_size ))
|
||||
|
||||
i=0
|
||||
|
|
Loading…
Add table
Reference in a new issue