Fix bug in old config detection
This commit is contained in:
parent
4ea10ccc83
commit
52f177303c
|
@ -113,7 +113,7 @@ $IPT -A LOG_ACCEPT -j ACCEPT
|
|||
oldconfigfile="/etc/firewall.rc"
|
||||
configfile="/etc/default/minifirewall"
|
||||
|
||||
if ! test -f $oldconfigfile; then
|
||||
if test -f $oldconfigfile; then
|
||||
echo "$oldconfigfile is deprecated, rename to $configfile" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue