diff --git a/service/utils/utils.go b/service/utils/utils.go index f04e3fa7e..515d5928b 100644 --- a/service/utils/utils.go +++ b/service/utils/utils.go @@ -836,16 +836,6 @@ func GetPidPath() (pth string) { return } -func GetWinArch() (arch string) { - if os.Getenv("PROGRAMFILES(X86)") == "" { - arch = "32" - } else { - arch = "64" - } - - return -} - func PidInit() (err error) { if runtime.GOOS == "windows" { return