use XDG_RUNTIME_DIR

This commit is contained in:
fanyx 2022-10-16 12:41:26 +02:00
parent 741f3c9ffb
commit 9ae4f36397
1 changed files with 1 additions and 1 deletions

View File

@ -1,2 +1,2 @@
#!/bin/sh #!/bin/sh
exec ssh-agent -D -a "/run/user/$(id -u)/ssh-agent" exec ssh-agent -D -a "${XDG_RUNTIME_DIR}/ssh-agent"