diff --git a/scripts/dependencies_check b/scripts/dependencies_check index 9b7725eb05..375512b751 100644 --- a/scripts/dependencies_check +++ b/scripts/dependencies_check @@ -29,8 +29,7 @@ dependencies_check() fi - if ! lsmod | grep binfmt_misc >/dev/null - then + if ! grep -q "/proc/sys/fs/binfmt_misc" /proc/mounts; then echo "Module binfmt_misc not loaded in host" echo "Please run:" echo " sudo modprobe binfmt_misc"