Merge pull request #260 from goldyfruit/master

kpatch: remove the path to modinfo to fix the info function
This commit is contained in:
Josh Poimboeuf 2014-06-20 11:54:25 -05:00
commit 4316632e1f

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")