From be01e09eff201e9de5b221133b0961924e13cc47 Mon Sep 17 00:00:00 2001 From: maximilionus Date: Thu, 24 Jul 2025 22:30:17 +0300 Subject: [PATCH] Improve throw msg in CoreAdminHandler --- v2rayN/ServiceLib/Handler/CoreAdminHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2rayN/ServiceLib/Handler/CoreAdminHandler.cs b/v2rayN/ServiceLib/Handler/CoreAdminHandler.cs index 7215beb1..35188e64 100644 --- a/v2rayN/ServiceLib/Handler/CoreAdminHandler.cs +++ b/v2rayN/ServiceLib/Handler/CoreAdminHandler.cs @@ -58,7 +58,7 @@ public class CoreAdminHandler process = Process.GetProcessById(_linuxSudoPid); await Task.Delay(5000); // Sudo exit on wrong password takes 2-4 sec. if (process.HasExited) - throw new InvalidOperationException("Process exited too soon, likely improper sudo password."); + throw new InvalidOperationException("Process ended too early, likely due to an incorrect sudo password."); } catch (Exception ex) {