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:
authorMHSanaei <mc.sanaei@gmail.com>2023-02-11 23:55:21 +0300
committerMHSanaei <mc.sanaei@gmail.com>2023-02-11 23:55:21 +0300
commit3343fb4a0dacb7046bab26c8916f93bc9d306ff3 (patch)
tree51dfb453f82f1c9cac76d102aae4e3a913ac05df /xray/process.go
parent56e8203a3428ab78a30bc2c22ab6c646a1a40052 (diff)
zh to en
Diffstat (limited to 'xray/process.go')
-rw-r--r--xray/process.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/xray/process.go b/xray/process.go
index ffa933ca..cf894de8 100644
--- a/xray/process.go
+++ b/xray/process.go
@@ -154,12 +154,12 @@ func (p *process) Start() (err error) {
data, err := json.MarshalIndent(p.config, "", " ")
if err != nil {
- return common.NewErrorf("生成 xray 配置文件失败: %v", err)
+ return common.NewErrorf("Failed to generate xray configuration file: %v", err)
}
configPath := GetConfigPath()
err = os.WriteFile(configPath, data, fs.ModePerm)
if err != nil {
- return common.NewErrorf("写入配置文件失败: %v", err)
+ return common.NewErrorf("Failed to write configuration file: %v", err)
}
cmd := exec.Command(GetBinaryPath(), "-c", configPath)