diff --git a/get-tracks.sh b/get-tracks.sh index bf7b47a..6e5af79 100755 --- a/get-tracks.sh +++ b/get-tracks.sh @@ -77,7 +77,7 @@ run_ffmpeg(){ local duration=$3 local title=$4 - if [ "${SIMULATION}" -eq 1 ]; then + if [ "${SIMULATION}" = 1 ]; then [ -z "${QUIET}" ] && echo "ffmpeg -loglevel error -ss '$from' -t '$duration' -i '${file}' '${title}'" else [ -z "${QUIET}" ] && echo "ffmpeg -loglevel error -ss '$from' -t '$duration' -i '${file}' '${title}'"