Signed-off-by: Xiao Liang <[email protected]>
---
 common/rc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/rc b/common/rc
index 0c354a2..71e27c3 100644
--- a/common/rc
+++ b/common/rc
@@ -33,7 +33,7 @@ _have_modules() {
        local module
 
        for module in "$@"; do
-               if ! modprobe -n -q "$1"; then
+               if ! modprobe -n -q "$module"; then
                        missing+=("$module")
                fi
        done
-- 
2.17.2

Reply via email to