Avoid duplicate configuration load failure debug messages when handling 'cfgmerge' command.
git-svn-id: http://voip.null.ro/svn/yate@6581 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
e8419f18b5
commit
e89fc66466
|
@ -1738,7 +1738,8 @@ bool Connection::processCommand(const char *line, bool saveLine)
|
|||
writeStr("Missing configuration name\r\n");
|
||||
else {
|
||||
String conf = Engine::configFile(str);
|
||||
Configuration cfg(conf,false);
|
||||
Configuration cfg;
|
||||
cfg = conf;
|
||||
if (!cfg.load()) {
|
||||
str = "Failed to load configuration file '" + conf + "'\r\n";
|
||||
writeStr(str);
|
||||
|
|
Loading…
Reference in New Issue