Browse Source

fix: SC2046: Quote this to prevent word splitting

master
Masahiro Matsuya 3 years ago committed by Jóhann B. Guðmundsson
parent
commit
ec50cec3bd
  1. 2
      modules.d/45url-lib/url-lib.sh

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

@ -159,7 +159,7 @@ nfs_fetch_url() { @@ -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

Loading…
Cancel
Save