Returning 0 if /dev/kvm does not exist after the modprobe would be ok, so long as those users do nto want to have hugetlbfs mounted. Otherwise we can simply guard the chmod with || true as we do the modprobe.
Returning 0 if /dev/kvm does not exist after the modprobe would be ok, so long as those users do nto want to have hugetlbfs mounted. Otherwise we can simply guard the chmod with || true as we do the modprobe.