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

diff --git a/modules.d/03modsign/.shchkdir b/modules.d/03modsign/.shchkdir
new file mode 100644 (file)
index 0000000..e69de29
index e01d48238db781a0967dd9cc01a22a48b1dbc94d..a042c08aa2776a9ca24eb49d48277e0f22954297 100755 (executable)
@@ -7,5 +7,5 @@
 
 for x in /lib/modules/keys/*; do
     [ "${x}" = "/lib/modules/keys/*" ] && break
-    keyctl padd asymmetric "" @s < ${x}
+    keyctl padd asymmetric "" @s < "${x}"
 done