From: Harald Hoyer Date: Thu, 6 Jun 2013 07:40:04 +0000 (+0200) Subject: lvm: fixed "thin" recognition X-Git-Tag: 028~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad4502441632690954df4ccb05149eba3e4f7b2f;p=thirdparty%2Fdracut.git lvm: fixed "thin" recognition --- diff --git a/modules.d/90lvm/module-setup.sh b/modules.d/90lvm/module-setup.sh index e8416ca85..a51bb0536 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