diff --git a/net-misc/openssh/files/ssh-agent.sh b/net-misc/openssh/files/ssh-agent.sh index 94d21d8be8e71..fc241019125a0 100644 --- a/net-misc/openssh/files/ssh-agent.sh +++ b/net-misc/openssh/files/ssh-agent.sh @@ -1,7 +1,7 @@ # Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License, v2 or later # -if [ -f /run/openrc/softlevel ] && [ -z "$SSH_AUTH_SOCK" ] +if [ -f /run/openrc/softlevel ] && [ -z "$SSH_AUTH_SOCK" ] \ && rc-service --user --exists ssh-agent 2>&1 >/dev/null; then export SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/ssh-agent.sock" fi diff --git a/net-misc/openssh/openssh-9.9_p2-r1.ebuild b/net-misc/openssh/openssh-9.9_p2-r2.ebuild similarity index 100% rename from net-misc/openssh/openssh-9.9_p2-r1.ebuild rename to net-misc/openssh/openssh-9.9_p2-r2.ebuild