sanebox: fix qoute error in linkCache array test
This commit is contained in:
parent
309797fe23
commit
d25fb31767
|
@ -297,7 +297,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