From 7e4dba762301f2125ea1dd56e04027384259e4a0 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Wed, 23 Aug 2017 08:01:25 -0700 Subject: [PATCH] Revert "Correct check for module already loaded" This reverts commit 2e98d4375b434a2b195f71e145061bd7de56fdf7. --- Shorewall-core/lib.common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall-core/lib.common b/Shorewall-core/lib.common index 5ec4ba812..8570b1247 100644 --- a/Shorewall-core/lib.common +++ b/Shorewall-core/lib.common @@ -274,7 +274,7 @@ loadmodule() # $1 = module name, $2 - * arguments if [ -d /sys/module/ ]; then if ! list_search $modulename $DONT_LOAD; then - if [ ! -f /sys/module/$modulename ]; then + if [ ! -d /sys/module/$modulename ]; then shift for suffix in $MODULE_SUFFIX ; do