summaryrefslogtreecommitdiffstats
path: root/pkgs/shell/with-ssh
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/shell/with-ssh')
-rwxr-xr-xpkgs/shell/with-ssh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/shell/with-ssh b/pkgs/shell/with-ssh
index 65459e2..4ae6277 100755
--- a/pkgs/shell/with-ssh
+++ b/pkgs/shell/with-ssh
@@ -9,7 +9,7 @@ set -efu
case ${WITH_SSH_STAGE-1} in
1)
export WITH_SSH_STAGE=2
- exec ssh-agent "$0" "$@"
+ exec ssh-agent -A "user:$XDG_RUNTIME_DIR/ssh-agent" "$0" "$@"
;;
2)
if test $# = 0; then