From: Masahiro Matsuya Date: Mon, 14 Jun 2021 00:04:03 +0000 (+0900) Subject: fix: SC2086: Double quote to prevent globbing and word splitting X-Git-Tag: 056~138 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=acb18869e98687a3f8c172d7e7befaa5326cf67a;p=thirdparty%2Fdracut.git fix: SC2086: Double quote to prevent globbing and word splitting --- diff --git a/modules.d/45url-lib/url-lib.sh b/modules.d/45url-lib/url-lib.sh index 972596a15..c952aec68 100755 --- a/modules.d/45url-lib/url-lib.sh +++ b/modules.d/45url-lib/url-lib.sh @@ -159,7 +159,7 @@ nfs_fetch_url() { mntdir="$(mkuniqdir /run nfs_mnt)" mount_nfs "$nfs:$server:$filepath${options:+:$options}" "$mntdir" # lazy unmount during pre-pivot hook - inst_hook --hook pre-pivot --name 99url-lib-umount-nfs-$(basename $mntdir) umount -l -- "$mntdir" + inst_hook --hook pre-pivot --name 99url-lib-umount-nfs-$(basename "$mntdir") umount -l -- "$mntdir" fi if [ -z "$outloc" ]; then