From dafc5b646c2cfd179215e6581d4797354ccc17cb Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Tue, 24 Jan 2012 18:18:17 +0100 Subject: [PATCH] xinitrc: Start ssh-agent with -s. --- xinitrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xinitrc b/xinitrc index 002c4c1..5c4c007 100755 --- a/xinitrc +++ b/xinitrc @@ -6,7 +6,9 @@ # Start ssh-agent if we have private keys, thanks to # http://code.haskell.org/XMonadContrib/scripts/xinitrc (read on 2011-06-19). if [ -x /usr/bin/ssh-agent -a -f "$HOME/.ssh/id_rsa" ]; then - eval `/usr/bin/ssh-agent` + # -s to force bourne shell output. This file is a bourne shell script even + # if the environment might suggest otherwise. + eval `/usr/bin/ssh-agent -s` fi # Use a black background for the root window. -- 2.45.2