From d834fe8440612a462cf88e206c19a35a1a4d1c16 Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Wed, 20 Jul 2016 16:34:17 +0100 Subject: [PATCH] Check the correct env-var for ssh agent forwarding --- .profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.profile b/.profile index c4183fd..1e6db68 100644 --- a/.profile +++ b/.profile @@ -14,7 +14,7 @@ export BROWSER="google-chrome-stable" export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel" export QT_STYLE_OVERRIDE=GTK+ -if [ -z $SSH_AGENT_PID ]; then +if [ -z $SSH_AUTH_SOCK ]; then eval `ssh-agent` ssh-add fi