Skip to content

Commit

Permalink
Fix #93: Can't configure cache mode from powershell when installed vi…
Browse files Browse the repository at this point in the history
…a Winget.
  • Loading branch information
gerardog committed Jul 30, 2021
1 parent 6cf5f93 commit 244266a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gsudo/Commands/ConfigCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ public Task<int> Execute()
if (InputArguments.Global && !ProcessHelper.IsAdministrator())
{
Logger.Instance.Log($"Global system settings requires elevation. Elevating...", LogLevel.Info);
InputArguments.Direct = true;
return new RunCommand()
{
CommandToRun = new string[]
Expand Down

0 comments on commit 244266a

Please sign in to comment.