summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/dependencies_check3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/dependencies_check b/scripts/dependencies_check
index 9b7725e..375512b 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"