Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--web/service/xray.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/web/service/xray.go b/web/service/xray.go
index 43178d2f..511ffdda 100644
--- a/web/service/xray.go
+++ b/web/service/xray.go
@@ -40,6 +40,9 @@ func (s *XrayService) GetXrayErr() error {
}
err := p.GetErr()
+ if err == nil {
+ return nil
+ }
if runtime.GOOS == "windows" && err.Error() == "exit status 1" {
// exit status 1 on Windows means that Xray process was killed