]> git.ipfire.org Git - thirdparty/dracut.git/commit
fix(multipath): shellcheck regression
authorHarald Hoyer <harald@redhat.com>
Wed, 31 Mar 2021 08:41:00 +0000 (10:41 +0200)
committerHarald Hoyer <harald@hoyer.xyz>
Wed, 31 Mar 2021 09:29:31 +0000 (11:29 +0200)
commit85378f44af4a0133dce06f81659157c2f45b7517
treefb2cc86b95616e67d4387936080ed82dcaa0d27c
parentaf3cd22425c86251c9dcb404dce3554774e9c510
fix(multipath): shellcheck regression

`$_allow` should not have been quoted, because it can be multiple options.

Instead of unquoting it, convert it to an associative array with easy
deduplication and prefix every device with the `--allow` option.

Fixes: https://github.com/dracutdevs/dracut/issues/1274
modules.d/90multipath/module-setup.sh