summaryrefslogtreecommitdiffstats
path: root/pkgs/shell
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-08 18:48:11 +0100
committertv <tv@krebsco.de>2026-11-08 21:06:57 +0100
commit8372544e3fe7afbd5fc5d24778961b6fa7415cc9 (patch)
tree20c2ccd28b1d46a839a813d283081c5e3f56ad4f /pkgs/shell
parent92f7b86df6b4419468a0cd0be4f0d23fad716b77 (diff)
with-ssh: use alt sock path
Diffstat (limited to 'pkgs/shell')
-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