summaryrefslogtreecommitdiff
path: root/modules.d
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2013-06-06 09:40:04 +0200
committerHarald Hoyer <harald@redhat.com>2013-06-06 09:40:26 +0200
commitad4502441632690954df4ccb05149eba3e4f7b2f (patch)
tree3c9fc8a7e5d13c0933e88b3d7f1e92c1b5be55bd /modules.d
parent3ae5ac28af66d9f8e51ddd8c7962974868622347 (diff)
downloaddracut-ad4502441632690954df4ccb05149eba3e4f7b2f.tar.gz
dracut-ad4502441632690954df4ccb05149eba3e4f7b2f.tar.bz2
dracut-ad4502441632690954df4ccb05149eba3e4f7b2f.zip
lvm: fixed "thin" recognition
Diffstat (limited to 'modules.d')
-rwxr-xr-xmodules.d/90lvm/module-setup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules.d/90lvm/module-setup.sh b/modules.d/90lvm/module-setup.sh
index e8416ca8..a51bb053 100755
--- a/modules.d/90lvm/module-setup.sh
+++ b/modules.d/90lvm/module-setup.sh
@@ -41,7 +41,7 @@ install() {
push _activated "${DM_VG_NAME}/${DM_LV_NAME}"
fi
if ! [[ $_needthin ]]; then
- [[ $(lvs --noheadings -o segtype $1) == *thin* ]] && _needthin=1
+ [[ $(lvs --noheadings -o segtype ${DM_VG_NAME}) == *thin* ]] && _needthin=1
fi
return 0