diff --git a/internal/agent/process_windows.go b/internal/agent/process_windows.go index d093237..28f27c3 100644 --- a/internal/agent/process_windows.go +++ b/internal/agent/process_windows.go @@ -11,7 +11,7 @@ import ( // On Windows, os.FindProcess + a zero-timeout wait is used since // signal 0 is not supported. func IsProcessAlive(pid int) bool { - p, err := os.FindProcess(pid) + _, err := os.FindProcess(pid) if err != nil { return false }