From ce09d0ea4ddf01076453de6dde6f86cf6f12113d Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Fri, 6 May 2011 12:06:20 +0200 Subject: [PATCH 1/2] parse-kernel.sh: wrong index was used in for loop Thanks Mike Snitzer --- modules.d/90kernel-modules/parse-kernel.sh | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules.d/90kernel-modules/parse-kernel.sh b/modules.d/90kernel-modules/parse-kernel.sh index fceccaa..9323d42 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 -- 1.7.5.3