remove export after ln, because some tools will check the socket path
such as pam ssh auth on NixOS.
This commit is contained in:
parent
2e1b45c048
commit
7d32a08454
1 changed files with 0 additions and 1 deletions
|
@ -33,7 +33,6 @@ fi
|
|||
# Create a persistent SSH authentication socket.
|
||||
if [[ -S "$SSH_AUTH_SOCK" && "$SSH_AUTH_SOCK" != "$_ssh_agent_sock" ]]; then
|
||||
ln -sf "$SSH_AUTH_SOCK" "$_ssh_agent_sock"
|
||||
export SSH_AUTH_SOCK="$_ssh_agent_sock"
|
||||
fi
|
||||
|
||||
# Load identities.
|
||||
|
|
Loading…
Reference in a new issue