kpatch: remove the path to modinfo to fix the info function

This commit is contained in:
Gaetan Trellu 2014-06-20 12:35:06 -04:00
parent 1dd843b7d0
commit c5f5a57fef

View File

@ -256,7 +256,7 @@ case "$1" in
PATCH="$2"
find_module "$PATCH" || die "can't find $PATCH"
echo "Patch information for $PATCH:"
/usr/sbin/modinfo "$MODULE" || die "failed to get info for module $PATCH"
modinfo "$MODULE" || die "failed to get info for module $PATCH"
;;
"help"|"-h"|"--help")