From 8362bf2ec0d5e1ecdab61814ddb0a22533b31e18 Mon Sep 17 00:00:00 2001 From: julienmalik Date: Mon, 16 Nov 2015 12:33:07 +0100 Subject: [PATCH] [fix] Do not exit at first service which can't be stopped --- data/hooks/conf_regen/22-email-legacy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/data/hooks/conf_regen/22-email-legacy b/data/hooks/conf_regen/22-email-legacy index 0328dd910..04962c4ca 100644 --- a/data/hooks/conf_regen/22-email-legacy +++ b/data/hooks/conf_regen/22-email-legacy @@ -29,7 +29,7 @@ if [[ "$1" == "True" ]]; then || echo "Postgrey is already removed" \ && sudo systemctl disable postgrey || true - sudo systemctl stop spamassassin - sudo systemctl stop amavis - sudo systemctl stop postgrey + sudo systemctl stop spamassassin || true + sudo systemctl stop amavis || true + sudo systemctl stop postgrey || true fi