|
|
|
@ -21,7 +21,7 @@ if ! gpg-connect-agent --quiet /bye > /dev/null 2> /dev/null; then |
|
|
|
. ${GPG_ENV} > /dev/null |
|
|
|
. ${GPG_ENV} > /dev/null |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
# check again if another agent is running using the newly sources settings |
|
|
|
# check again if another agent is running using the newly sourced settings |
|
|
|
if ! gpg-connect-agent --quiet /bye > /dev/null 2> /dev/null; then |
|
|
|
if ! gpg-connect-agent --quiet /bye > /dev/null 2> /dev/null; then |
|
|
|
# check for existing ssh-agent |
|
|
|
# check for existing ssh-agent |
|
|
|
if ssh-add -l > /dev/null 2> /dev/null; then |
|
|
|
if ssh-add -l > /dev/null 2> /dev/null; then |
|
|
|
|