1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

vdo: typo fix

Argh - lastmin mods...
This commit is contained in:
Zdenek Kabelac 2023-09-14 10:01:43 +02:00
parent 9d7061f1a3
commit f5781144ab

View File

@ -533,7 +533,7 @@ convert_non_lv_() {
# For systems using devicesfile add 'merged' PV into system.devices. # For systems using devicesfile add 'merged' PV into system.devices.
# Bypassing use of --valuesonly to keep compatibility with older lvm. # Bypassing use of --valuesonly to keep compatibility with older lvm.
local usedev=$("$LVM" lvmconfig --typeconfig full devices/use_devicesfile || true) local usedev=$("$LVM" lvmconfig --typeconfig full devices/use_devicesfile || true)
[ "${usedev#*=" = "1" ] && dry "$LVM" lvmdevices --adddev "$DEVICE" [ "${usedev#*=}" = "1" ] && dry "$LVM" lvmdevices --adddev "$DEVICE"
# Restore auto activation for a VG # Restore auto activation for a VG
dry "$LVM" vgchange --setautoactivation y $VERB $FORCE "$VGNAME" dry "$LVM" vgchange --setautoactivation y $VERB $FORCE "$VGNAME"