[fix] Do not fail if firewall is stopped

This commit is contained in:
kload 2015-10-31 19:21:25 +01:00
parent eea9b2e3af
commit cdb862dfaf

3
debian/postinst vendored
View file

@ -15,7 +15,8 @@ do_configure() {
# restart yunohost-firewall if it's running
service yunohost-firewall status > /dev/null \
&& service yunohost-firewall restart
&& service yunohost-firewall restart \
|| echo "Firewall stopped"
fi
}