Skip to content

Commit

Permalink
forgot to change variable in catch
Browse files Browse the repository at this point in the history
  • Loading branch information
EvilLord666 committed Mar 5, 2024
1 parent 52fe4bd commit 3a2a1e2
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ public DeviceConfigurationManager(string configFile)
if (OperatingSystem.IsLinux())
{
string deviceConfigFile = Path.Combine(Environment.SpecialFolder.Personal.ToString(), configFile);
if (!File.Exists(configFile))
File.Create(configFile).Dispose();
_configFile = Path.GetFullPath(configFile);
if (!File.Exists(deviceConfigFile))
File.Create(deviceConfigFile).Dispose();
_configFile = Path.GetFullPath(deviceConfigFile);
}
}

Expand Down

0 comments on commit 3a2a1e2

Please sign in to comment.