summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/keyringer/functions4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/keyringer/functions b/lib/keyringer/functions
index 129ec0e..1d29157 100644
--- a/lib/keyringer/functions
+++ b/lib/keyringer/functions
@@ -74,6 +74,10 @@ function keyringer_exec {
# Dispatch
if keyringer_has_action "$action"; then
"$ACTIONS/$action" "$basedir" $*
+ err="$?"
+ if [ "$err" != "0" ]; then
+ exit "$err"
+ fi
fi
}