From: Harald Hoyer Date: Fri, 12 Feb 2021 12:26:12 +0000 (+0100) Subject: fix: shellcheck for modules.d/91crypt-gpg/module-setup.sh X-Git-Tag: 052~41 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=33e9727ee7ef7c5ac7734fda218ebec64d72608c;p=thirdparty%2Fdracut.git fix: shellcheck for modules.d/91crypt-gpg/module-setup.sh --- diff --git a/modules.d/91crypt-gpg/module-setup.sh b/modules.d/91crypt-gpg/module-setup.sh index 0d99c8a60..794ff2380 100755 --- a/modules.d/91crypt-gpg/module-setup.sh +++ b/modules.d/91crypt-gpg/module-setup.sh @@ -46,7 +46,7 @@ sc_supported() { require_binaries gpg-agent && require_binaries gpg-connect-agent && require_binaries /usr/libexec/scdaemon && - ($DRACUT_LDD $dracutsysrootdir/usr/libexec/scdaemon | grep libusb > /dev/null); then + ($DRACUT_LDD "$dracutsysrootdir"/usr/libexec/scdaemon | grep libusb > /dev/null); then return 0 else return 1