1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-26 17:25:10 +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.
# Bypassing use of --valuesonly to keep compatibility with older lvm.
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
dry "$LVM" vgchange --setautoactivation y $VERB $FORCE "$VGNAME"