mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Do not fail at iptable reloading
This commit is contained in:
parent
11a38641e8
commit
010237d8a1
1 changed files with 4 additions and 1 deletions
5
tools.py
5
tools.py
|
@ -282,7 +282,10 @@ def tools_postinstall(domain, password, dyndns=False):
|
||||||
|
|
||||||
# Enable uPnP
|
# Enable uPnP
|
||||||
firewall_upnp(action=['enable'])
|
firewall_upnp(action=['enable'])
|
||||||
firewall_reload()
|
try:
|
||||||
|
firewall_reload()
|
||||||
|
except MoulinetteError:
|
||||||
|
pass
|
||||||
|
|
||||||
os.system('touch /etc/yunohost/installed')
|
os.system('touch /etc/yunohost/installed')
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue