diff --git a/scripts/setup.sh b/scripts/setup.sh index 27c5843bb9..f3fe968716 100755 --- a/scripts/setup.sh +++ b/scripts/setup.sh @@ -42,7 +42,7 @@ function linux_bind_driver() { } function linux_hugetlbfs_mount() { - mount | grep '^hugetlbfs ' | awk '{ print $3 }' + mount | grep ' type hugetlbfs ' | awk '{ print $3 }' } function configure_linux {