Skip to content

Commit acb1886

Browse files
mmatsuyajohannbg
authored andcommitted
fix: SC2086: Double quote to prevent globbing and word splitting
1 parent 2f091b1 commit acb1886

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules.d/45url-lib/url-lib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ nfs_fetch_url() {
159159
mntdir="$(mkuniqdir /run nfs_mnt)"
160160
mount_nfs "$nfs:$server:$filepath${options:+:$options}" "$mntdir"
161161
# lazy unmount during pre-pivot hook
162-
inst_hook --hook pre-pivot --name 99url-lib-umount-nfs-$(basename $mntdir) umount -l -- "$mntdir"
162+
inst_hook --hook pre-pivot --name 99url-lib-umount-nfs-$(basename "$mntdir") umount -l -- "$mntdir"
163163
fi
164164

165165
if [ -z "$outloc" ]; then

0 commit comments

Comments
 (0)