Fix hash collisions on tmp keys
This commit is contained in:
parent
b9ce88b502
commit
e64e378671
1 changed files with 2 additions and 2 deletions
|
|
@ -26,8 +26,8 @@ sanitize_paths()
|
||||||
|
|
||||||
# $1 = file
|
# $1 = file
|
||||||
getpath() {
|
getpath() {
|
||||||
if [ -n "$REMOTE_ADDR" ]
|
if [ -n "$ZPASS_REMOTE_ADDR" ]
|
||||||
then echo "$REMOTE_PORT:$REMOTE_ADDR:$file"
|
then echo "$ZPASS_REMOTE_PORT:$ZPASS_REMOTE_ADDR:$file"
|
||||||
else readlink -f "$file"
|
else readlink -f "$file"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue