dracut.sh: fixed typo
authorHarald Hoyer <harald@redhat.com>
Mon, 12 Aug 2013 10:46:35 +0000 (12:46 +0200)
committerHarald Hoyer <harald@redhat.com>
Mon, 12 Aug 2013 10:46:35 +0000 (12:46 +0200)
dracut.sh

index 6208c82..2ac3d8b 100755 (executable)
--- a/dracut.sh
+++ b/dracut.sh
@@ -877,7 +877,7 @@ if [[ $hostonly ]]; then
         mp=$(readlink -f "$mp")
         mountpoint "$mp" >/dev/null 2>&1 || continue
         _dev=$(find_block_device "$mp")
-        _bdev=$(readlink -f "/dev/block/$dev")
+        _bdev=$(readlink -f "/dev/block/$_dev")
         [[ -b $_bdev ]] && _dev=$_bdev
         push host_devs $_dev
         [[ "$_mp" == "/" ]] && root_dev="$_dev"