]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fix: shellcheck for modules.d/95fcoe/module-setup.sh
authorHarald Hoyer <harald@redhat.com>
Fri, 12 Feb 2021 12:26:13 +0000 (13:26 +0100)
committerHarald Hoyer <harald@hoyer.xyz>
Mon, 15 Feb 2021 10:00:37 +0000 (11:00 +0100)
modules.d/95fcoe/module-setup.sh

index 32143d51fc2210cf536b8e3d5fbe4ddd38378d18..2729ec61f6628bab4f138632fed255f96b63c0a5 100755 (executable)
@@ -91,7 +91,7 @@ cmdline() {
 # called by dracut
 install() {
     inst_multiple ip dcbtool fipvlan lldpad readlink lldptool fcoemon fcoeadm
-    if [ -e "$dracutsysrootdir/etc/hba.conf" ]; then
+    if [[ -e $dracutsysrootdir/etc/hba.conf ]]; then
         inst_libdir_file 'libhbalinux.so*'
         inst_simple "/etc/hba.conf"
     fi