diff --git a/hooks/lvm/lvm.init b/hooks/lvm/lvm.init index 955469b..c7063d9 100644 --- a/hooks/lvm/lvm.init +++ b/hooks/lvm/lvm.init @@ -13,7 +13,7 @@ export DM_DISABLE_UDEV=1 mkdir -p /run/lvm /run/lock/lvm set -- \ - --sysinit -qq -aay "${lvm_discard:+--config=devices{issue_discards=1}}" + --sysinit -qq -aay "${lvm_discard:+--config=devices\{issue_discards=1\}}" if [ "$lvm_group" ] && [ "$lvm_name" ]; then lvm lvchange $@ "${lvm_group}/${lvm_name}"