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
|
||||
getpath() {
|
||||
if [ -n "$REMOTE_ADDR" ]
|
||||
then echo "$REMOTE_PORT:$REMOTE_ADDR:$file"
|
||||
if [ -n "$ZPASS_REMOTE_ADDR" ]
|
||||
then echo "$ZPASS_REMOTE_PORT:$ZPASS_REMOTE_ADDR:$file"
|
||||
else readlink -f "$file"
|
||||
fi
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue