summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérôme Schneider <jschneider@entrouvert.com>2014-02-03 09:15:15 (GMT)
committerJérôme Schneider <jschneider@entrouvert.com>2014-02-03 09:15:15 (GMT)
commit8e43c63cc03b2eea26ca4ef33a959e43cbaf8ad3 (patch)
tree2ba977e0f746c162c00a994e352bcb7ecfadec35
parent5150b0a7470ac4e1eff1af44047c41f817fa3442 (diff)
downloadeofirewall-8e43c63cc03b2eea26ca4ef33a959e43cbaf8ad3.zip
eofirewall-8e43c63cc03b2eea26ca4ef33a959e43cbaf8ad3.tar.gz
eofirewall-8e43c63cc03b2eea26ca4ef33a959e43cbaf8ad3.tar.bz2
eofirewall: exit 0 and not 1 if configuration doesn't exist
-rwxr-xr-xeofirewall3
1 files changed, 2 insertions, 1 deletions
diff --git a/eofirewall b/eofirewall
index 69d9bcc..575ce95 100755
--- a/eofirewall
+++ b/eofirewall
@@ -22,7 +22,8 @@ chain_exists()
if [ -f "/etc/firewall/firewall.conf" ]; then
source /etc/firewall/firewall.conf
else
- abort "No configuration file /etc/firewall/firewall.conf"
+ log_warning_msg "No configuration file /etc/firewall/firewall.conf"
+ exit 0
fi
flush()