[fix] Do not fail at iptable reloading

This commit is contained in:
Kload 2014-05-19 10:33:16 +02:00
parent 11a38641e8
commit 010237d8a1

View file

@ -282,7 +282,10 @@ def tools_postinstall(domain, password, dyndns=False):
# Enable uPnP
firewall_upnp(action=['enable'])
firewall_reload()
try:
firewall_reload()
except MoulinetteError:
pass
os.system('touch /etc/yunohost/installed')