shell: don't close the file descriptor, it doesn't work
authorDavid Adam <zanchey@ucc.gu.uwa.edu.au>
Mon, 27 Apr 2015 10:02:44 +0000 (18:02 +0800)
committerDavid Adam <zanchey@ucc.gu.uwa.edu.au>
Mon, 27 Apr 2015 10:02:44 +0000 (18:02 +0800)
bash_profile.uccpass
zprofile.uccpass

index 539887a..7d581e8 100644 (file)
@@ -1,3 +1,3 @@
-if type keychain >-; then
+if type keychain >/dev/null; then
     eval `keychain --clear --quiet --agents gpg --eval`
 fi
index 2f0f19b..1de9e1b 100644 (file)
@@ -1,3 +1,3 @@
-if type keychain >-; then
+if type keychain >/dev/null; then
     keychain --clear --quiet --agents gpg
 fi

UCC git Repository :: git.ucc.asn.au