From: Masahiro Matsuya Date: Tue, 29 Jun 2021 09:09:57 +0000 (+0900) Subject: fix: SC2046: Quote this to prevent word splitting X-Git-Tag: 056~137 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec50cec3bd9169410df409e077d0487c63c2a627;p=thirdparty%2Fdracut.git fix: SC2046: Quote this to prevent word splitting --- diff --git a/modules.d/45url-lib/url-lib.sh b/modules.d/45url-lib/url-lib.sh index c952aec68..b68f72b04 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