no gpg agent

This commit is contained in:
Marc Beninca 2024-03-31 23:35:16 +02:00
parent 75ff649291
commit 074d9d5a73
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -1,6 +1,5 @@
if [ ${EUID} -ne 0 ] ; then
if [ -f "${HOME}/.gnupg/gpg-agent.conf" ] ; then
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
gpg-connect-agent updatestartuptty /bye > '/dev/null'
fi
fi