Skip to content

Commit

Permalink
Fixed issue with --copyEV
Browse files Browse the repository at this point in the history
  • Loading branch information
gerardog committed Nov 10, 2022
1 parent 6d55e37 commit 28abba4
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/gsudo/Helpers/CommandToRunAdapter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -375,13 +375,8 @@ internal void AddCopyEnvironment(ElevationRequest.ConsoleMode mode)
new FileInfo(tempBatName).SetAccessControl(fSecurity);
tempBatName = tempBatName.Quote();
preCommands.Add(tempBatName);
preCommands.Add($"del / q {tempBatName}");

/*
} */
preCommands.Add($"del /q {tempBatName}");
}
//return command;
}

internal void Build()
Expand Down

0 comments on commit 28abba4

Please sign in to comment.