summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions b/functions
index 69f918b..421b85e 100644
--- a/functions
+++ b/functions
@@ -150,9 +150,9 @@ add_module ()
for mod in $(/sbin/modinfo -F depends "${path}" | tr ',' ' '); do
if [ -n "${mod}" ]; then
add_module "${mod}"
- HAS_MODULES="y"
fi
done
+ HAS_MODULES="y"
add_file "${path}" && found=1
done
if [ $found -eq 0 ]; then