Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/scripts/setup-modules.sh b/scripts/setup-modules.sh
- index 0efdc36..eb0eb77 100644
- --- a/scripts/setup-modules.sh
- +++ b/scripts/setup-modules.sh
- @@ -63,14 +63,14 @@ check_supported_kernel() {
- local kernel_version=$1
- local output=
- - output=$(modinfo -k "$kernel_version" -F supported 2>/dev/null)
- + output=$(modinfo -k "$kernel_version" -F supported ext3 2>/dev/null)
- if [ "$?" -ne 0 ] ; then
- # If the command existed with an error, assume that the kernel is
- - # supported. That is just the same behaviour as before we did that
- + # unsupported. That is just the same behaviour as before we did that
- # check_supported_kernel() hack
- verbose "[MODULES]\t'modinfo -k \"$kernel_version\" -F supported' " \
- "returned with an error."
- - return 0
- + return 1
- fi
- if [[ "$output" = *yes* ]] ; then
Add Comment
Please, Sign In to add comment