eofirewall: exit 0 and not 1 if configuration doesn't exist

This commit is contained in:
Jérôme Schneider 2014-02-03 10:15:15 +01:00
parent 5150b0a747
commit 8e43c63cc0
1 changed files with 2 additions and 1 deletions

View File

@ -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()