From: David Adam Date: Mon, 27 Apr 2015 10:02:44 +0000 (+0800) Subject: shell: don't close the file descriptor, it doesn't work X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=9481df8a5267f108c9b57691c2709ce533e70660;p=zanchey%2Fuccpass.git shell: don't close the file descriptor, it doesn't work --- diff --git a/bash_profile.uccpass b/bash_profile.uccpass index 539887a..7d581e8 100644 --- a/bash_profile.uccpass +++ b/bash_profile.uccpass @@ -1,3 +1,3 @@ -if type keychain >-; then +if type keychain >/dev/null; then eval `keychain --clear --quiet --agents gpg --eval` fi diff --git a/zprofile.uccpass b/zprofile.uccpass index 2f0f19b..1de9e1b 100644 --- a/zprofile.uccpass +++ b/zprofile.uccpass @@ -1,3 +1,3 @@ -if type keychain >-; then +if type keychain >/dev/null; then keychain --clear --quiet --agents gpg fi