Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/tools/CertHelper/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ static async Task<int> Main(string[] args)
Console.Error.WriteLine(ex.StackTrace);
}

using (var store = new X509Store(StoreName.My, StoreLocation.CurrentUser, OpenFlags.ReadWrite))
using (var store = new X509Store(StoreName.My, StoreLocation.CurrentUser, OpenFlags.ReadOnly))
{
foreach(var cert in store.Certificates.Find(X509FindType.FindBySubjectName, "dotnetperf.microsoft.com", false))
{
Expand Down
4 changes: 2 additions & 2 deletions src/tools/ScenarioMeasurement/Util/ProcessHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public Process RunWithNoExit()
if (!Util.IsWindows() && RootAccess)
{
psi.FileName = "sudo";
psi.Arguments = Executable + " " + Arguments;
psi.Arguments = "-- " + Executable + " " + Arguments;
}
else
{
Expand Down Expand Up @@ -191,7 +191,7 @@ public ProcessResult Run()
if (!Util.IsWindows() && RootAccess)
{
psi.FileName = "sudo";
psi.Arguments = Executable + " " + Arguments;
psi.Arguments = "-- " + Executable + " " + Arguments;
}
else
{
Expand Down
Loading