aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasahiro Matsuya <mmatsuya@redhat.com>2021-06-29 18:09:57 +0900
committerJóhann B. Guðmundsson <johannbg@gmail.com>2021-06-29 22:03:38 +0000
commitec50cec3bd9169410df409e077d0487c63c2a627 (patch)
tree692a33b976f9cd4a5ccca51a626cfa38714a82b6
parentacb18869e98687a3f8c172d7e7befaa5326cf67a (diff)
downloaddracut-ec50cec3bd9169410df409e077d0487c63c2a627.tar.gz
fix: SC2046: Quote this to prevent word splitting
-rwxr-xr-xmodules.d/45url-lib/url-lib.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules.d/45url-lib/url-lib.sh b/modules.d/45url-lib/url-lib.sh
index c952aec6..b68f72b0 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