Blame 0076-dracut-functions.sh-remove-duplicate-declaratio-of-l.patch

Harald Hoyer bb31e7
From 9918afd244cbee479af4380c1fa2a7a81fba6bed Mon Sep 17 00:00:00 2001
Harald Hoyer bb31e7
From: Lidong Zhong <lzhong@suse.com>
Harald Hoyer bb31e7
Date: Mon, 24 Aug 2015 18:02:10 +0800
Harald Hoyer bb31e7
Subject: [PATCH] dracut-functions.sh: remove duplicate declaratio of local
Harald Hoyer bb31e7
 variable
Harald Hoyer bb31e7
Harald Hoyer bb31e7
---
Harald Hoyer bb31e7
 dracut-functions.sh | 2 +-
Harald Hoyer bb31e7
 1 file changed, 1 insertion(+), 1 deletion(-)
Harald Hoyer bb31e7
Harald Hoyer bb31e7
diff --git a/dracut-functions.sh b/dracut-functions.sh
Harald Hoyer bb31e7
index d559903..cb88078 100755
Harald Hoyer bb31e7
--- a/dracut-functions.sh
Harald Hoyer bb31e7
+++ b/dracut-functions.sh
Harald Hoyer bb31e7
@@ -429,7 +429,7 @@ shorten_persistent_dev() {
Harald Hoyer bb31e7
 # $ find_block_device /usr
Harald Hoyer bb31e7
 # 8:4
Harald Hoyer bb31e7
 find_block_device() {
Harald Hoyer bb31e7
-    local _majmin _dev _majmin _find_mpt
Harald Hoyer bb31e7
+    local _dev _majmin _find_mpt
Harald Hoyer bb31e7
     _find_mpt="$1"
Harald Hoyer bb31e7
     if [[ $use_fstab != yes ]]; then
Harald Hoyer bb31e7
         [[ -d $_find_mpt/. ]]