ShayBox / Mon2Cam

Workaround for multi-monitor Discord screensharing
MIT License
337 stars 33 forks source link

No Error message if Error Code #13

Closed Lukas-Heiligenbrunner closed 4 years ago

Lukas-Heiligenbrunner commented 4 years ago

Hey, Using Fedora 32 here.

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.

Screenshot_20200521_200542

kind regards.

ShayBox commented 4 years ago

Good catch, I added that after to make it more strict

Lukas-Heiligenbrunner commented 4 years ago

Thanks! works great for me now.