Remove multiple send password actions on Unix elev

This commit is contained in:
maximilionus 2025-07-27 17:46:14 +03:00
parent 6911883995
commit 4217397428

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);