eofirewall: exit 0 and not 1 if configuration doesn't exist
This commit is contained in:
parent
5150b0a747
commit
8e43c63cc0
|
@ -22,7 +22,8 @@ chain_exists()
|
||||||
if [ -f "/etc/firewall/firewall.conf" ]; then
|
if [ -f "/etc/firewall/firewall.conf" ]; then
|
||||||
source /etc/firewall/firewall.conf
|
source /etc/firewall/firewall.conf
|
||||||
else
|
else
|
||||||
abort "No configuration file /etc/firewall/firewall.conf"
|
log_warning_msg "No configuration file /etc/firewall/firewall.conf"
|
||||||
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
flush()
|
flush()
|
||||||
|
|
Reference in New Issue