mirror of
https://github.com/dynup/kpatch
synced 2025-01-29 16:22:44 +00:00
Merge pull request #260 from goldyfruit/master
kpatch: remove the path to modinfo to fix the info function
This commit is contained in:
commit
4316632e1f
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user