From 011e0f309a9ca55e82d46c3d29f4a57c0ee4d1d9 Mon Sep 17 00:00:00 2001 From: Danilo Nascimento <31519404+ndanilo8@users.noreply.github.com> Date: Thu, 10 Jul 2025 02:36:02 +0200 Subject: fix writeCrashReport() typo (#3218) --- xray/process.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xray/process.go') 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) } -- cgit v1.2.3