diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-02-26 13:01:34 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-02-26 13:01:34 -0300 |
commit | 4153129f3ae06a7dca7085e05e278232bbb81d32 (patch) | |
tree | 01faf2714587cdf081a8e511d98f4eb8852597ca /share/keyringer/decrypt | |
parent | 67adc630f06c7779937a410f1d5925ad51f6e017 (diff) | |
download | keyringer-4153129f3ae06a7dca7085e05e278232bbb81d32.tar.gz keyringer-4153129f3ae06a7dca7085e05e278232bbb81d32.tar.bz2 |
Recrypt only when decrypt is successful (#6)
Diffstat (limited to 'share/keyringer/decrypt')
-rwxr-xr-x | share/keyringer/decrypt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/share/keyringer/decrypt b/share/keyringer/decrypt index adc1134..bab9b34 100755 --- a/share/keyringer/decrypt +++ b/share/keyringer/decrypt @@ -12,3 +12,6 @@ keyringer_get_file "$2" # Decrypt $GPG --quiet --use-agent -d "$KEYDIR/$FILE" + +# Exit +exit "$?" |