From: Simon Ruderich Date: Tue, 24 Jan 2012 17:18:17 +0000 (+0100) Subject: xinitrc: Start ssh-agent with -s. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=dafc5b646c2cfd179215e6581d4797354ccc17cb;p=config%2Fdotfiles.git xinitrc: Start ssh-agent with -s. --- 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.