diff --git a/kpatch/kpatch b/kpatch/kpatch index 9c686d6..ecce9f9 100755 --- a/kpatch/kpatch +++ b/kpatch/kpatch @@ -533,7 +533,7 @@ case "$1" in echo "Installed patch modules:" for kdir in "$INSTALLDIR"/*; do [[ -e "$kdir" ]] || continue - for module in "$kdir"/*; do + for module in "$kdir"/*.ko; do [[ -e "$module" ]] || continue mod_name "$module" echo "$MODNAME ($(basename "$kdir"))"