mirror of
https://github.com/2dust/v2rayN.git
synced 2026-11-03 11:05:08 +03:00
Fixed an issue where root processes could not be exited on macOS
This commit is contained in:
@@ -110,7 +110,7 @@ public class CoreAdminHandler
|
||||
}
|
||||
else
|
||||
{
|
||||
sb.AppendLine($"sudo -S -k -p '' {cmdLine}");
|
||||
sb.AppendLine($"sudo -S {cmdLine}");
|
||||
}
|
||||
|
||||
await File.WriteAllTextAsync(shFilePath, sb.ToString());
|
||||
|
||||
Reference in New Issue
Block a user