linux-v4l2: Hide modinfo from terminal
Using modinfo dumps all the output into the terminal instead redirect all output to dev/null.
This commit is contained in:
parent
9a64adb4d1
commit
dc7d829751
@ -31,7 +31,7 @@ static bool v4l2loopback_installed()
|
||||
{
|
||||
bool loaded = false;
|
||||
|
||||
int ret = system("modinfo v4l2loopback");
|
||||
int ret = system("modinfo v4l2loopback &>/dev/null");
|
||||
|
||||
if (ret == 0)
|
||||
loaded = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user