From 051293e288c1a8668083ad9f106cc6401fe475db Mon Sep 17 00:00:00 2001 From: Julien Malik Date: Tue, 8 Mar 2016 14:32:05 +0100 Subject: [PATCH] [fix] if we reached end of script, exit with success, instead of the last command result --- data/hooks/conf_regen/22-email-legacy | 3 +++ 1 file changed, 3 insertions(+) diff --git a/data/hooks/conf_regen/22-email-legacy b/data/hooks/conf_regen/22-email-legacy index 45d279b65..0dd01d589 100644 --- a/data/hooks/conf_regen/22-email-legacy +++ b/data/hooks/conf_regen/22-email-legacy @@ -38,4 +38,7 @@ if [[ "$1" == "True" ]]; then && sudo systemctl stop postgrey sudo yunohost service status postgrey > /dev/null 2>&1 \ && sudo yunohost service remove postgrey + fi + +exit 0