From: Harald Hoyer Date: Fri, 26 Mar 2021 09:29:09 +0000 (+0100) Subject: fix(caps): shellcheck for modules.d/02caps X-Git-Tag: 054~266 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3dbc6c3d44fa2fc5e2db473747807484835fb204;p=thirdparty%2Fdracut.git fix(caps): shellcheck for modules.d/02caps --- diff --git a/modules.d/02caps/.shchkdir b/modules.d/02caps/.shchkdir new file mode 100644 index 000000000..e69de29bb diff --git a/modules.d/02caps/module-setup.sh b/modules.d/02caps/module-setup.sh index 38bcb7e1a..0faf778d4 100755 --- a/modules.d/02caps/module-setup.sh +++ b/modules.d/02caps/module-setup.sh @@ -15,7 +15,7 @@ depends() { install() { if ! dracut_module_included "systemd"; then inst_hook pre-pivot 00 "$moddir/caps.sh" - inst $(find_binary capsh 2> /dev/null) /usr/sbin/capsh + inst "$(find_binary capsh 2> /dev/null)" /usr/sbin/capsh # capsh wants bash and we need bash also inst /bin/bash else