Blame SOURCES/0491-dracut-functions.sh-remove-duplicate-declaratio-of-l.patch

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