minor: don't bother reparsing the sources for includes if ReadConfig() was unsuccessful
parent
1fcb919798
commit
a4acf485d7
|
@ -179,10 +179,11 @@ namespace OpenSim
|
||||||
for (int i = 0 ; i < sources.Count ; i++)
|
for (int i = 0 ; i < sources.Count ; i++)
|
||||||
{
|
{
|
||||||
if (ReadConfig(sources[i]))
|
if (ReadConfig(sources[i]))
|
||||||
|
{
|
||||||
iniFileExists = true;
|
iniFileExists = true;
|
||||||
|
|
||||||
AddIncludes(sources);
|
AddIncludes(sources);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (!iniFileExists)
|
if (!iniFileExists)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue