From c5f5a57fef1e846c5129656c0b106fe4854f0eff Mon Sep 17 00:00:00 2001 From: Gaetan Trellu Date: Fri, 20 Jun 2014 12:35:06 -0400 Subject: [PATCH] kpatch: remove the path to modinfo to fix the info function --- kpatch/kpatch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kpatch/kpatch b/kpatch/kpatch index c1f8cfc..f196c2e 100755 --- a/kpatch/kpatch +++ b/kpatch/kpatch @@ -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")