sane-sandboxed: fix typo in linkCache queries, which would otherwise break for paths containing spaces
This commit is contained in:
parent
3557994cbb
commit
38c038f4f7
|
@ -285,7 +285,7 @@ readlinkOnce() {
|
|||
local outVar="$1"
|
||||
local path="$2"
|
||||
local linkTarget=
|
||||
if [ -v "linkCache["$path"]" ]; then
|
||||
if [ -v linkCache["$path"] ]; then
|
||||
linkTarget="${linkCache["$path"]}"
|
||||
elif [ -L "$path" ]; then
|
||||
# path is a link, but not in the cache
|
||||
|
|
Loading…
Reference in New Issue
Block a user