mirror of
https://github.com/dynup/kpatch
synced 2024-12-26 15:22:03 +00:00
kpatch: remove the path to modinfo to fix the info function
This commit is contained in:
parent
1dd843b7d0
commit
c5f5a57fef
@ -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