From: Harald Hoyer Date: Fri, 26 Mar 2021 09:29:29 +0000 (+0100) Subject: fix(ssh-client): shellcheck for modules.d/95ssh-client X-Git-Tag: 054~208 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a15a7a1a34c30a4988ecfa3f94df0396243bbf6b;p=thirdparty%2Fdracut.git fix(ssh-client): shellcheck for modules.d/95ssh-client --- diff --git a/modules.d/95ssh-client/.shchkdir b/modules.d/95ssh-client/.shchkdir new file mode 100644 index 000000000..e69de29bb diff --git a/modules.d/95ssh-client/module-setup.sh b/modules.d/95ssh-client/module-setup.sh index fb3753641..2a75446fa 100755 --- a/modules.d/95ssh-client/module-setup.sh +++ b/modules.d/95ssh-client/module-setup.sh @@ -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