[fix] Do not exit at first service which can't be stopped

This commit is contained in:
julienmalik 2015-11-16 12:33:07 +01:00
parent eae6ecc9c0
commit 8362bf2ec0

View file

@ -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