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 authored and fuji246 committed Sep 13, 2019
1 parent ff10915 commit b4dd2a8
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
Expand Up @@ -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"
Expand Down

0 comments on commit b4dd2a8

Please sign in to comment.