Skip to content

Commit

Permalink
[corlib] Don't load the machine config file if it's missing. Fixes #4…
Browse files Browse the repository at this point in the history
…4707
  • Loading branch information
kumpera committed Oct 5, 2016
1 parent a5971ec commit 10aae2d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ public static void Configure (string filename, bool ensureSecurity)
{
lock (channelTemplates) {
if (!defaultConfigRead) {
ReadConfigFile (Environment.GetMachineConfigPath ());
if (File.Exists (Environment.GetMachineConfigPath ()))
ReadConfigFile (Environment.GetMachineConfigPath ());
defaultConfigRead = true;
}

Expand Down

0 comments on commit 10aae2d

Please sign in to comment.