mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
net-misc/openssh: fix syntax error in profile.d script
Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev> Closes: https://github.com/gentoo/gentoo/pull/40811 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
ae6c976da6
commit
5ef5371056
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user