Skip to content

Commit

Permalink
fix: SC2046: Quote this to prevent word splitting
Browse files Browse the repository at this point in the history
  • Loading branch information
mmatsuya authored and johannbg committed Jun 29, 2021
1 parent acb1886 commit ec50cec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules.d/45url-lib/url-lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ec50cec

Please sign in to comment.