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

diff --git a/modules.d/95ssh-client/.shchkdir b/modules.d/95ssh-client/.shchkdir
new file mode 100644 (file)
index 0000000..e69de29
index fb37536418b0ac65cb8e86df3f833ca4543e28fb..2a75446fac758580292c658df9584f5b131ce4c9 100755 (executable)
@@ -49,6 +49,7 @@ inst_sshenv() {
             # Copy customized UserKnowHostsFile
             elif [[ $key == "UserKnownHostsFile" ]]; then
                 # Make sure that ~/foo will be copied as /root/foo in kdump's initramfs
+                # shellcheck disable=SC2088
                 if str_starts "$val" "~/"; then
                     val="/root/${val#"~/"}"
                 fi