Commit 0f7a77f4 by Dieter Plaetinck

fix unknown key error formatting

parent cd832ea7
...@@ -273,7 +273,7 @@ func loadSpecifedConfigFile(configFile string) { ...@@ -273,7 +273,7 @@ func loadSpecifedConfigFile(configFile string) {
} }
defaultKey, err := defaultSec.GetKey(key.Name()) defaultKey, err := defaultSec.GetKey(key.Name())
if err != nil { if err != nil {
log.Error(3, "Unknown config key %s defined in section %s, in file", key.Name(), section.Name(), configFile) log.Error(3, "Unknown config key %s defined in section %s, in file %s", key.Name(), section.Name(), configFile)
continue continue
} }
defaultKey.SetValue(key.Value()) defaultKey.SetValue(key.Value())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment