Reset sudo password after failed Unix elevation

This allows to request the sudo password from user again on next
elevation attempt without any need for full application restart.
pull/7639/head
maximilionus 2025-07-23 17:52:13 +03:00
parent 69c1f4713e
commit a5a1c845dd
1 changed files with 1 additions and 0 deletions

View File

@ -64,6 +64,7 @@ public class CoreAdminHandler
catch (Exception ex)
{
_linuxSudoPid = -1;
AppHandler.Instance.LinuxSudoPwd = "";
throw new Exception(ResUI.FailedToRunCore, ex);
}