aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--%HOME%/.profile2
1 files changed, 1 insertions, 1 deletions
diff --git a/%HOME%/.profile b/%HOME%/.profile
index c382ae2..ccb1f92 100644
--- a/%HOME%/.profile
+++ b/%HOME%/.profile
@@ -84,7 +84,7 @@ kill_ssh_agent() {
spawn_ssh_agent() {
local output
- [ -z "${SSH_AGENT_PID:+x}" ] \
+ [ -z "${SSH_AUTH_SOCK:+x}" ] \
&& command -v ssh-agent > /dev/null 2>&1 \
&& output="$( ssh-agent -s )" \
&& eval "$output" > /dev/null \