Set XAUTHORITY only if it isn't already set (openssh sets it to nonstandard

location).
This commit is contained in:
hjp 2001-08-17 08:55:51 +00:00
parent 6105fbc864
commit 4745559118
1 changed files with 4 additions and 1 deletions

View File

@ -102,7 +102,10 @@ elif [ -x /usr/local/bin/less ]
then
export PAGER="/usr/local/bin/less -i"
fi
if [ -z "$XAUTHORITY" ]
then
export XAUTHORITY=$HOME/.Xauthority
fi
case "$HOST" in
*.*)