aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rwxr-xr-xshare/keyringer/recrypt4
1 files changed, 4 insertions, 0 deletions
diff --git a/share/keyringer/recrypt b/share/keyringer/recrypt
index a8f5267..438039d 100755
--- a/share/keyringer/recrypt
+++ b/share/keyringer/recrypt
@@ -13,6 +13,10 @@ function keyringer_recrypt {
# Recrypt
$GPG --use-agent -d "$KEYDIR/$FILE" | $GPG --use-agent --armor -e -s $(keyringer_recipients "$RECIPIENTS") > "$KEYDIR/$FILE"
+
+ if [ "$?" != "0" ]; then
+ exit 1
+ fi
}
if [ ! -z "$2" ]; then