Handle cases where binfmt_misc is built into the kernel

Fixes #264
This commit is contained in:
Serge Schneider 2019-03-06 16:25:42 +00:00
parent b7812278a8
commit 67241b9626

View file

@ -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"