mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
- If section does not exist, use default value
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@417 a942ae1a-1317-0410-a47c-b1dcaea8d605
This commit is contained in:
parent
d8785edb5a
commit
c69ccd5538
1 changed files with 1 additions and 0 deletions
|
|
@ -87,6 +87,7 @@ class ConfigReader(SafeConfigParser):
|
|||
except NoSectionError, e:
|
||||
# No "Definition" section or wrong basedir
|
||||
logSys.error(e)
|
||||
values[option[1]] = option[2]
|
||||
except NoOptionError:
|
||||
if not option[2] == None:
|
||||
logSys.warn("No '" + option[1] + "' defined in '" + sec + "'")
|
||||
|
|
|
|||
Loading…
Reference in a new issue