Skip to content

Commit

Permalink
Handle cases where binfmt_misc is built into the kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
XECDesign committed Mar 6, 2019
1 parent b781227 commit 67241b9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/dependencies_check
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 67241b9

Please sign in to comment.