1
0
Fork 0

remove export after ln, because some tools will check the socket path

such as pam ssh auth on NixOS.
pull/1682/head
Vonfry 6 years ago
parent 2e1b45c048
commit 7d32a08454
No known key found for this signature in database
GPG Key ID: 7FC96CE000223B1C

@ -33,7 +33,6 @@ fi
# Create a persistent SSH authentication socket. # Create a persistent SSH authentication socket.
if [[ -S "$SSH_AUTH_SOCK" && "$SSH_AUTH_SOCK" != "$_ssh_agent_sock" ]]; then if [[ -S "$SSH_AUTH_SOCK" && "$SSH_AUTH_SOCK" != "$_ssh_agent_sock" ]]; then
ln -sf "$SSH_AUTH_SOCK" "$_ssh_agent_sock" ln -sf "$SSH_AUTH_SOCK" "$_ssh_agent_sock"
export SSH_AUTH_SOCK="$_ssh_agent_sock"
fi fi
# Load identities. # Load identities.

Loading…
Cancel
Save