From 2c67a6ceb2d89727e32b465b7016759e70a1100f Mon Sep 17 00:00:00 2001 From: John Date: Mon, 2 Jul 2018 14:21:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=BF=9B=E7=A8=8B=E9=80=9A?= =?UTF-8?q?=E4=BF=A1=E4=B8=B4=E6=97=B6=E6=96=87=E4=BB=B6=E7=9B=AE=E5=BD=95?= =?UTF-8?q?=E7=8E=AF=E5=A2=83=E5=8F=98=E9=87=8F=E8=8E=B7=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- g/os/gproc/gproc_comm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/g/os/gproc/gproc_comm.go b/g/os/gproc/gproc_comm.go index 257981b65..a58efb822 100644 --- a/g/os/gproc/gproc_comm.go +++ b/g/os/gproc/gproc_comm.go @@ -50,7 +50,7 @@ func getCommFilePath(pid int) string { // 获取进程间通信目录地址 func getCommDirPath() string { - tempDir := os.Getenv("gproc.tempdir") + tempDir := os.Getenv(gPROC_TEMP_DIR_ENV_KEY) if tempDir == "" { tempDir = gfile.TempDir() }