]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fix(caps): shellcheck for modules.d/02caps
authorHarald Hoyer <harald@redhat.com>
Fri, 26 Mar 2021 09:29:09 +0000 (10:29 +0100)
committerHarald Hoyer <harald@hoyer.xyz>
Fri, 26 Mar 2021 12:01:34 +0000 (13:01 +0100)
modules.d/02caps/.shchkdir [new file with mode: 0644]
modules.d/02caps/module-setup.sh

diff --git a/modules.d/02caps/.shchkdir b/modules.d/02caps/.shchkdir
new file mode 100644 (file)
index 0000000..e69de29
index 38bcb7e1a24b8d85c61b493ec66a78fe966de690..0faf778d4a94a781cd9d67532b66b0099156190b 100755 (executable)
@@ -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