Remove multiple send password actions on Unix elev

pull/7658/head
maximilionus 2025-07-27 17:46:14 +03:00
parent 6911883995
commit 4217397428
1 changed files with 0 additions and 2 deletions

View File

@ -72,8 +72,6 @@ public class CoreAdminHandler
proc.BeginOutputReadLine(); proc.BeginOutputReadLine();
proc.BeginErrorReadLine(); proc.BeginErrorReadLine();
await Task.Delay(10);
await proc.StandardInput.WriteLineAsync(AppHandler.Instance.LinuxSudoPwd);
await Task.Delay(10); await Task.Delay(10);
await proc.StandardInput.WriteLineAsync(AppHandler.Instance.LinuxSudoPwd); await proc.StandardInput.WriteLineAsync(AppHandler.Instance.LinuxSudoPwd);