aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Sokolovsky <paul.sokolovsky@linaro.org>2014-11-25 20:18:18 +0200
committerPaul Sokolovsky <paul.sokolovsky@linaro.org>2014-11-25 20:18:18 +0200
commitfe2a51024a623ab288ca6d9c6b8b492399e06eb4 (patch)
tree3e4c23cad0990037a4b6aa95dda069c8f6f436a1
parentb012397d0da6190af08518abad3d81b1b1b2adb5 (diff)
downloadgit-gpgcrypt-fe2a51024a623ab288ca6d9c6b8b492399e06eb4.tar.gz
During initial check of key, don't dump it to stdout.
Change-Id: I82e37c0eb789e5bd47869a7b9c4d54235c3ca07a
-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)