Commit 07b5995e by Torkel Ödegaard

Merge pull request #2395 from Dieterbe/fix-unknown-config-key-message

fix unknown key error formatting
parents cd832ea7 0f7a77f4
...@@ -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