mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Do not fail if firewall is stopped
This commit is contained in:
parent
eea9b2e3af
commit
cdb862dfaf
1 changed files with 2 additions and 1 deletions
3
debian/postinst
vendored
3
debian/postinst
vendored
|
@ -15,7 +15,8 @@ do_configure() {
|
||||||
|
|
||||||
# restart yunohost-firewall if it's running
|
# restart yunohost-firewall if it's running
|
||||||
service yunohost-firewall status > /dev/null \
|
service yunohost-firewall status > /dev/null \
|
||||||
&& service yunohost-firewall restart
|
&& service yunohost-firewall restart \
|
||||||
|
|| echo "Firewall stopped"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue