summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-12-31 17:58:30 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-12-31 17:58:30 -0200
commit05c979445a142de0b9a66995728d984ab2247856 (patch)
treecde71cdd9dd188cb171af3ae8c60104fc70b5e30 /lib
parent65f63e1b889a9f0e5e9a0b1646ddcee3b4b44242 (diff)
downloadkeyringer-05c979445a142de0b9a66995728d984ab2247856.tar.gz
keyringer-05c979445a142de0b9a66995728d984ab2247856.tar.bz2
Use 'gpg --quiet' by default
Diffstat (limited to 'lib')
-rwxr-xr-xlib/keyringer/actions/decrypt2
-rwxr-xr-xlib/keyringer/functions4
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/keyringer/actions/decrypt b/lib/keyringer/actions/decrypt
index 2b1401c..b63b74e 100755
--- a/lib/keyringer/actions/decrypt
+++ b/lib/keyringer/actions/decrypt
@@ -11,7 +11,7 @@ source "$LIB" || exit 1
keyringer_get_file "$2"
# Decrypt
-$GPG --quiet --use-agent -d "$KEYDIR/$FILE"
+$GPG --use-agent -d "$KEYDIR/$FILE"
# Exit
exit "$?"
diff --git a/lib/keyringer/functions b/lib/keyringer/functions
index de7516f..9eb832f 100755
--- a/lib/keyringer/functions
+++ b/lib/keyringer/functions
@@ -290,9 +290,9 @@ function keyringer_set_env {
fi
if [ ! -z "$KEYID" ]; then
- GPG="gpg -u $KEYID"
+ GPG="gpg --quiet -u $KEYID"
else
- GPG="gpg"
+ GPG="gpg --quiet"
fi
# Check keyring config version