1
0
Fork 0
telegraf/plugins/processors/port_name/services_path.go
Daniel Baumann 4978089aab
Adding upstream version 1.34.4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-05-24 07:26:29 +02:00

12 lines
190 B
Go

//go:build windows
package port_name
import (
"os"
"path/filepath"
)
func servicesPath() string {
return filepath.Join(os.Getenv("WINDIR"), "system32", "drivers", "etc", "services")
}