Fixed gpg-agent not starting sometimes
This commit is contained in:
parent
177913a954
commit
139cf98a2b
@ -68,7 +68,8 @@ if ! shopt -oq posix; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -x "/usr/bin/gpg-agent" ]; then
|
which gpg-agent 2>&1 > /dev/null
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
GPG_ENV="$HOME/.gnupg/environment"
|
GPG_ENV="$HOME/.gnupg/environment"
|
||||||
|
|
||||||
function __start_agent {
|
function __start_agent {
|
||||||
|
Loading…
Reference in New Issue
Block a user