diff options
author | Masahiro Matsuya <mmatsuya@redhat.com> | 2021-06-29 18:09:57 +0900 |
---|---|---|
committer | Jóhann B. Guðmundsson <johannbg@gmail.com> | 2021-06-29 22:03:38 +0000 |
commit | ec50cec3bd9169410df409e077d0487c63c2a627 (patch) | |
tree | 692a33b976f9cd4a5ccca51a626cfa38714a82b6 | |
parent | acb18869e98687a3f8c172d7e7befaa5326cf67a (diff) | |
download | dracut-ec50cec3bd9169410df409e077d0487c63c2a627.tar.gz |
fix: SC2046: Quote this to prevent word splitting
-rwxr-xr-x | modules.d/45url-lib/url-lib.sh | 2 |
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 |