summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions b/functions
index ce8a544..c4229f6 100644
--- a/functions
+++ b/functions
@@ -12,7 +12,7 @@ auto_modules ()
all_modules ()
{
- mods=$(find ${MODULEDIR} -name *.ko 2>/dev/null | grep $@ | sort -u)
+ mods=$(find ${MODULEDIR} -name '*.ko' 2>/dev/null | grep $@ | sort -u)
echo "${mods}"
[ -z "${mods}" ] && return 1