---
 modules.d/99base/dracut-lib.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules.d/99base/dracut-lib.sh b/modules.d/99base/dracut-lib.sh
index f0c030b..37659fe 100755
--- a/modules.d/99base/dracut-lib.sh
+++ b/modules.d/99base/dracut-lib.sh
@@ -183,10 +183,10 @@ splitsep() {
     local tmp
 
     while [ -n "$str" -a -n "$*" ]; do
-        tmp="${str%%:*}"
+        tmp="${str%%$sep*}"
         eval "$1=${tmp}"
         str="${str#$tmp}"
-        str="${str#:}"
+        str="${str#$sep}"
         shift
     done
 
-- 
1.7.3.2

--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to