summaryrefslogtreecommitdiff
path: root/debian/ssh-agent.user-session.upstart
diff options
context:
space:
mode:
Diffstat (limited to 'debian/ssh-agent.user-session.upstart')
-rw-r--r--debian/ssh-agent.user-session.upstart2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/ssh-agent.user-session.upstart b/debian/ssh-agent.user-session.upstart
index f127e221d..385a9ecc6 100644
--- a/debian/ssh-agent.user-session.upstart
+++ b/debian/ssh-agent.user-session.upstart
@@ -8,7 +8,7 @@ pre-start script
8 grep -q "^use-ssh-agent$" /etc/X11/Xsession.options || { stop; exit 0; } 8 grep -q "^use-ssh-agent$" /etc/X11/Xsession.options || { stop; exit 0; }
9 [ -z "$SSH_AUTH_SOCK" ] || { stop; exit 0; } 9 [ -z "$SSH_AUTH_SOCK" ] || { stop; exit 0; }
10 10
11 eval "$(ssh-agent)" >/dev/null 11 eval "$(ssh-agent -s)" >/dev/null
12 initctl set-env --global SSH_AUTH_SOCK=$SSH_AUTH_SOCK 12 initctl set-env --global SSH_AUTH_SOCK=$SSH_AUTH_SOCK
13 initctl set-env --global SSH_AGENT_PID=$SSH_AGENT_PID 13 initctl set-env --global SSH_AGENT_PID=$SSH_AGENT_PID
14 initctl set-env --global SSH_AGENT_LAUNCHER=upstart 14 initctl set-env --global SSH_AGENT_LAUNCHER=upstart