From cdb862dfaf5df80301cc274e5af7dfab5c02cf17 Mon Sep 17 00:00:00 2001 From: kload Date: Sat, 31 Oct 2015 19:21:25 +0100 Subject: [PATCH] [fix] Do not fail if firewall is stopped --- debian/postinst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/postinst b/debian/postinst index de5febe92..3cefc3c15 100644 --- a/debian/postinst +++ b/debian/postinst @@ -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 }