linux-v4l2: Fix bashism in v4l2loopback module detection
When /bin/sh isn't bash, the previous line always appears to succeed, and modinfo's output is not redirected, because it actually runs modinfo in the background (which always succeeds) then opens and closes /dev/null without doing anything to it. This causes us to always think that the v4l2loopback module is installed, even when it isn't.
Showing
想要评论请 注册 或 登录