fix: mod gpg bg process condition
This commit is contained in:
parent
f74937c683
commit
0d0e0b9262
@ -88,7 +88,7 @@ idm_gpg__enable ()
|
|||||||
unset GPG_AGENT_INFO
|
unset GPG_AGENT_INFO
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "${IDM_NO_BG:-false}" == true ]] || [[ -n "${DIRENV_IN_ENVRC-}" ]] ; then
|
if [[ "${IDM_NO_BG:-false}" != false ]] || [[ -n "${DIRENV_IN_ENVRC-}" ]] ; then
|
||||||
|
|
||||||
# Check if socket is present
|
# Check if socket is present
|
||||||
if [ ! -S "${GPG_AGENT_INFO-}" ]; then
|
if [ ! -S "${GPG_AGENT_INFO-}" ]; then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user