]> git.ipfire.org Git - thirdparty/dracut.git/commit
refactor(zfcp_rules): use read -r instead of cat
authorkeentux <valentin.lefebvre@suse.com>
Wed, 23 Nov 2022 16:39:08 +0000 (16:39 +0000)
committerAntonio Álvarez Feijoo <antonio.feijoo@suse.com>
Mon, 28 Nov 2022 11:16:05 +0000 (12:16 +0100)
commit4a9b165de0ee0184dffb02c9223ff41aa0aeb903
treecf0795855c45fbad648a8e57352d9a1c08f98193
parentfd9cd02cb21f25d32fec4cd9889457ea6361f45e
refactor(zfcp_rules): use read -r instead of cat

Fixes #1268: Bad style `var=$(cat <file>)`. Replace by `read -r var < file`

Signed-off-by: keentux <valentin.lefebvre@suse.com>
modules.d/95zfcp_rules/module-setup.sh
modules.d/95zfcp_rules/parse-zfcp.sh