archrelease: copy trunk to extra-x86_64
[arch-packages.git] / gdm / trunk / 0001-Xsession-Don-t-start-ssh-agent-by-default.patch
blob56699008c6fc850cce142c8577acafe7cbf4c5a8
1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
3 Date: Sat, 20 Jun 2015 17:22:38 +0200
4 Subject: [PATCH] Xsession: Don't start ssh-agent by default
6 ---
7 data/Xsession.in | 8 --------
8 1 file changed, 8 deletions(-)
10 diff --git a/data/Xsession.in b/data/Xsession.in
11 index 2e4de4fe384f..29ebc30ea0c5 100755
12 --- a/data/Xsession.in
13 +++ b/data/Xsession.in
14 @@ -207,14 +207,6 @@ if [ "x$command" = "xdefault" ] ; then
18 -# add ssh-agent if found
19 -sshagent="`gdmwhich ssh-agent`"
20 -if [ -n "$sshagent" ] && [ -x "$sshagent" ] && [ -z "$SSH_AUTH_SOCK" ]; then
21 - command="$sshagent -- $command"
22 -elif [ -z "$sshagent" ] ; then
23 - echo "$0: ssh-agent not found!"
24 -fi
26 echo "$0: Setup done, will execute: $command"
28 eval exec $command