Handle cases where binfmt_misc is built into the kernel

Fixes #264
pull/270/head
Serge Schneider 2019-03-06 16:25:42 +00:00
parent b7812278a8
commit 67241b9626
1 changed files with 1 additions and 2 deletions

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"