Merge pull request #19 from trbednarzyk/patch-1
Fix bug in lvm hook with lvm_discard unset
This commit is contained in:
commit
5d8dc4e295
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user