]> git.ipfire.org Git - thirdparty/dracut.git/commit
fix(dmsquash-live): correct regression introduced with shellcheck changes
authorHarald Hoyer <harald@hoyer.xyz>
Fri, 6 Aug 2021 13:13:32 +0000 (15:13 +0200)
committerHarald Hoyer <harald@hoyer.xyz>
Wed, 6 Oct 2021 16:08:01 +0000 (18:08 +0200)
commit0c631efb10bf4ce18ec8640277bd94712950298a
treeb2ece475ef7b8960d139ec001f6683664c2c6044
parent5c5b73c681b7dacfa1f0c78aa0cd0948ee15e2fd
fix(dmsquash-live): correct regression introduced with shellcheck changes

`"$opt"` with empty `opt` will give errors for `losetup`.

https://github.com/dracutdevs/dracut/issues/1576

Rename the variable and set the arguments dynamically, if the variable
is set.
modules.d/90dmsquash-live/dmsquash-live-root.sh