]> git.ipfire.org Git - thirdparty/dracut.git/commit
lvm: fix thin recognition
authorHarald Hoyer <harald@redhat.com>
Wed, 16 Oct 2013 09:30:08 +0000 (11:30 +0200)
committerHarald Hoyer <harald@redhat.com>
Wed, 16 Oct 2013 09:30:08 +0000 (11:30 +0200)
commitaabea6f7b9c057571d1869c6974d4c4f42530e7e
tree50b3c83ad41d18c8aa9974f32344168448e0556c
parent871c8e40d1c7bb1bace48ce19ea1b956f7065458
lvm: fix thin recognition

The global var setting was happening in a pipe and did not have an
effect.

Use <<<$() instead.

< <() cannot be used, because dracut is called in chroot's environments,
where /dev/fd does not point to /proc/self/fd, but bash wants
/dev/fd/<num> for this construct.
modules.d/90lvm/module-setup.sh