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:
authorDanilo Nascimento <31519404+ndanilo8@users.noreply.github.com>2025-07-10 03:36:02 +0300
committerGitHub <noreply@github.com>2025-07-10 03:36:02 +0300
commit011e0f309a9ca55e82d46c3d29f4a57c0ee4d1d9 (patch)
tree6577b0da995480050eae01f1aabc07064267c752 /xray/process.go
parentb7164805f8382226b0360f42b1be7f5ece307db4 (diff)
fix writeCrashReport() typo (#3218)
Diffstat (limited to 'xray/process.go')
-rw-r--r--xray/process.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/xray/process.go b/xray/process.go
index 077ff339..335ad9c1 100644
--- a/xray/process.go
+++ b/xray/process.go
@@ -242,7 +242,7 @@ func (p *process) Stop() error {
return p.cmd.Process.Signal(syscall.SIGTERM)
}
-func writeCrachReport(m []byte) error {
+func writeCrashReport(m []byte) error {
crashReportPath := config.GetBinFolderPath() + "/core_crash_" + time.Now().Format("20060102_150405") + ".log"
return os.WriteFile(crashReportPath, m, os.ModePerm)
}