summaryrefslogtreecommitdiff
path: root/hook-functions
diff options
context:
space:
mode:
Diffstat (limited to 'hook-functions')
-rw-r--r--hook-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/hook-functions b/hook-functions
index f5da1c4..8b6a89c 100644
--- a/hook-functions
+++ b/hook-functions
@@ -183,7 +183,7 @@ sys_walk_mod_add()
{
local driver_path module
device_path="$1"
-
+
while [ "${device_path}" != "/sys" ]; do
sys_walk_modalias ${device_path}
driver_path="$(readlink -f ${device_path}/driver/module)"