aboutsummaryrefslogtreecommitdiff
path: root/debian/naskpass.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/naskpass.postinst')
-rwxr-xr-xdebian/naskpass.postinst3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/naskpass.postinst b/debian/naskpass.postinst
index c61fe1c..255bfd0 100755
--- a/debian/naskpass.postinst
+++ b/debian/naskpass.postinst
@@ -16,10 +16,11 @@ case "$1" in
db_go
db_get naskpass/activate
if [ "x$RET" = "xtrue" ]; then
- nask_activate
+ nask_activate || true
if [ "x${ERRMSG}" != "x" ]; then
echo "* ${ERRMSG}" >&2
nask_deactivate
+ false
fi
else
nask_deactivate