command -v <command> gives a non zero return code if the command couldn´t be found.
You set with set -o errexit to exit the script on non zero return codes, why?
In my case I hadn't installed ffmpeg and the script exited without any error message.
I would recommend to remove the set -o errexit policy.
Hey, Using Fedora 32 here.
command -v <command>
gives a non zero return code if the command couldn´t be found. You set withset -o errexit
to exit the script on non zero return codes, why?In my case I hadn't installed ffmpeg and the script exited without any error message. I would recommend to remove the
set -o errexit
policy.kind regards.