summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2013-08-12 12:46:35 +0200
committerHarald Hoyer <harald@redhat.com>2013-08-12 12:46:35 +0200
commite95b672376314602777989bcb416bf7037ca77bc (patch)
treee5d567d1485f98560cc8c656badeaaa67cd0f41b
parentdadd2b698ef7d0c069dce58ccad5543337b007c9 (diff)
downloaddracut-e95b672376314602777989bcb416bf7037ca77bc.tar.gz
dracut-e95b672376314602777989bcb416bf7037ca77bc.tar.bz2
dracut-e95b672376314602777989bcb416bf7037ca77bc.zip
dracut.sh: fixed typo
-rwxr-xr-xdracut.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/dracut.sh b/dracut.sh
index 6208c82a..2ac3d8b1 100755
--- 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"