mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] if we reached end of script, exit with success, instead of the last command result
This commit is contained in:
parent
18c1a7d506
commit
051293e288
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue