Removed a few semicolons in gpg-agent plugin.

This commit is contained in:
Sorin Ionescu 2012-01-31 23:42:01 -05:00
parent af060f8dba
commit 37c2d35263

View file

@ -22,16 +22,14 @@ function _gpg-agent-start() {
if [[ -f "${GPG_ENV}" ]]; then if [[ -f "${GPG_ENV}" ]]; then
source "${GPG_ENV}" > /dev/null source "${GPG_ENV}" > /dev/null
ps -ef | grep "${SSH_AGENT_PID}" | grep gpg-agent > /dev/null || { ps -ef | grep "${SSH_AGENT_PID}" | grep gpg-agent > /dev/null || {
_gpg-agent-start; _gpg-agent-start
} }
else else
_gpg-agent-start; _gpg-agent-start
fi fi
export GPG_AGENT_INFO export GPG_AGENT_INFO
export SSH_AUTH_SOCK export SSH_AUTH_SOCK
export SSH_AGENT_PID export SSH_AGENT_PID
export GPG_TTY="$(tty)"
GPG_TTY=$(tty)
export GPG_TTY