mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-08 04:34:00 +02:00
gpg-agent plugin service check changed
- running on OsX 10.8
- When using gpg-agent plugin, found numerous instances of gpg-agent
running on my system, growing linearly with time. Found existing
check for running services is calling a deprecated command.
This commit is contained in:
parent
434f3bc05c
commit
86059f3029
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ function start_agent_withssh {
|
|||
}
|
||||
|
||||
# check if another agent is running
|
||||
if ! gpg-connect-agent --quiet /bye > /dev/null 2> /dev/null; then
|
||||
if ! gpg-agent -q > /dev/null 2> /dev/null; then
|
||||
# source settings of old agent, if applicable
|
||||
if [ -f "${GPG_ENV}" ]; then
|
||||
. ${GPG_ENV} > /dev/null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue