[fix] if we reached end of script, exit with success, instead of the last command result

This commit is contained in:
Julien Malik 2016-03-08 14:32:05 +01:00
parent 18c1a7d506
commit 051293e288

View file

@ -38,4 +38,7 @@ if [[ "$1" == "True" ]]; then
&& sudo systemctl stop postgrey && sudo systemctl stop postgrey
sudo yunohost service status postgrey > /dev/null 2>&1 \ sudo yunohost service status postgrey > /dev/null 2>&1 \
&& sudo yunohost service remove postgrey && sudo yunohost service remove postgrey
fi fi
exit 0