From: Harald Hoyer Date: Fri, 12 Feb 2021 12:26:13 +0000 (+0100) Subject: fix: shellcheck for modules.d/95fcoe/module-setup.sh X-Git-Tag: 052~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4b1d669d706db9432711f2cb5b2fd6fb6fba28a;p=thirdparty%2Fdracut.git fix: shellcheck for modules.d/95fcoe/module-setup.sh --- diff --git a/modules.d/95fcoe/module-setup.sh b/modules.d/95fcoe/module-setup.sh index 32143d51f..2729ec61f 100755 --- a/modules.d/95fcoe/module-setup.sh +++ b/modules.d/95fcoe/module-setup.sh @@ -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