From 3cf14ae1aebb8dde4a053b23211fd9c81e4b35db Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Fri, 6 May 2011 12:06:20 +0200 Subject: [PATCH] parse-kernel.sh: wrong index was used in for loop Thanks Mike Snitzer --- modules.d/90kernel-modules/parse-kernel.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules.d/90kernel-modules/parse-kernel.sh b/modules.d/90kernel-modules/parse-kernel.sh index 422559c..832413b 100755 --- a/modules.d/90kernel-modules/parse-kernel.sh +++ b/modules.d/90kernel-modules/parse-kernel.sh @@ -2,7 +2,7 @@ # -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*- # ex: ts=8 sw=4 sts=4 et filetype=sh -for p in $(getargs rd.driver.pre rdloaddriver=); do +for i in $(getargs rd.driver.pre rdloaddriver=); do ( IFS=, for p in $i; do @@ -11,7 +11,7 @@ for p in $(getargs rd.driver.pre rdloaddriver=); do ) done -for p in $(getargs rd.driver.blacklist rdblacklist=); do +for i in $(getargs rd.driver.blacklist rdblacklist=); do ( IFS=, for p in $i; do -- 2.7.4