diff --git a/GreenshotPlugin/IniFile/IniReader.cs b/GreenshotPlugin/IniFile/IniReader.cs index 412f90afd..1cd268ea8 100644 --- a/GreenshotPlugin/IniFile/IniReader.cs +++ b/GreenshotPlugin/IniFile/IniReader.cs @@ -35,7 +35,7 @@ namespace Greenshot.IniFile { */ public static Dictionary> read(string path, Encoding encoding) { Dictionary> ini = new Dictionary>(); - using (FileStream fileStream = new FileStream(path, FileMode.Open, FileAccess.Read, FileShare.ReadWrite, 1024)) { + using (FileStream fileStream = new FileStream(path, FileMode.Open, FileAccess.Read, FileShare.Read, 1024)) { using (StreamReader reader = new StreamReader(fileStream, encoding)) { Dictionary nameValues = new Dictionary(); while (!reader.EndOfStream) {