]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
dracut-functions.sh: remove duplicate declaratio of local variable 89/head
authorLidong Zhong <lzhong@suse.com>
Mon, 24 Aug 2015 10:02:10 +0000 (18:02 +0800)
committerLidong Zhong <lzhong@suse.com>
Mon, 24 Aug 2015 10:03:02 +0000 (18:03 +0800)
dracut-functions.sh

index d559903f4ba8eea0156d1ace91e6c75dd474d170..cb88078434d1663834c985b2a705ee177b26d3e9 100755 (executable)
@@ -429,7 +429,7 @@ shorten_persistent_dev() {
 # $ find_block_device /usr
 # 8:4
 find_block_device() {
-    local _majmin _dev _majmin _find_mpt
+    local _dev _majmin _find_mpt
     _find_mpt="$1"
     if [[ $use_fstab != yes ]]; then
         [[ -d $_find_mpt/. ]]