Skip to content

Commit

Permalink
mod upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
AbericYang committed May 22, 2020
1 parent 34fca97 commit 9ba6822
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion utils.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
package proc

import "github.com/aberic/gnomon"

// FileRootPath 读取文件根路径
func FileRootPath() string {
return "/proc"
return gnomon.EnvGetD("PROC_DIR", "/proc")
}

const (
Expand Down

0 comments on commit 9ba6822

Please sign in to comment.