aboutsummaryrefslogtreecommitdiffstats
path: root/testing/sqm-scripts/10-function.sh.patch
blob: 42e6f7e1cedbe02853afba6c049d280b5856b250 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/src/functions.sh
+++ b/src/functions.sh
@@ -70,7 +70,7 @@
 
 do_modules() {
     for m in $ALL_MODULES; do
-        [ -d /sys/modules/${m} ] && ${INSMOD} $m 2>>${OUTPUT_TARGET}
+        [ -d /sys/module/${m} ] || ${INSMOD} $m 2>>${OUTPUT_TARGET}
     done
 }