dracut.sh: remove duplicate call of push_host_devs

There is no way exit between the two places that call push_host_devs
master
Lidong Zhong 2015-08-24 18:27:54 +08:00
parent 0a66b74b51
commit aa169b3bd3
1 changed files with 0 additions and 1 deletions

View File

@ -1113,7 +1113,6 @@ if [[ $hostonly ]]; then
_dev=$(find_block_device "$mp")
_bdev=$(readlink -f "/dev/block/$_dev")
[[ -b $_bdev ]] && _dev=$_bdev
push_host_devs $_dev
[[ "$mp" == "/" ]] && root_devs+=("$_dev")
push_host_devs "$_dev"
if [[ $(find_mp_fstype "$mp") == btrfs ]]; then