aboutsummaryrefslogtreecommitdiff
path: root/git-gpgcrypt
diff options
context:
space:
mode:
Diffstat (limited to 'git-gpgcrypt')
-rwxr-xr-xgit-gpgcrypt2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-gpgcrypt b/git-gpgcrypt
index 99c90b7..1c3c076 100755
--- a/git-gpgcrypt
+++ b/git-gpgcrypt
@@ -103,7 +103,7 @@ encrypt_key() {
# Try to get symmetric encryption key and fail fast if we
# can't do that, which means that GPG cannot decrypt it
# with user's private key.
-get_key
+get_key >/dev/null
case "$1" in
init)