mirror of https://github.com/2dust/v2rayN
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
parent
69c1f4713e
commit
a5a1c845dd
|
@ -64,6 +64,7 @@ public class CoreAdminHandler
|
|||
catch (Exception ex)
|
||||
{
|
||||
_linuxSudoPid = -1;
|
||||
AppHandler.Instance.LinuxSudoPwd = "";
|
||||
throw new Exception(ResUI.FailedToRunCore, ex);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue