fleet/cmd/fleetctl/fleetctl/kill_process.go
Victor Lyuboslavsky 2db0959c15
Moved fleetctl to fleetctl package. (#28932)
For #28932

No functional changes.

Left the parent directory (also named fleetctl) with the main package as
is not to break/change any other flows.

This PR is the first step before refactoring integration tests to speed
up (parallelize) fleetctl tests.
2025-05-07 15:53:35 -05:00

10 lines
151 B
Go

//go:build !windows
// +build !windows
package fleetctl
import "syscall"
func killPID(pid int) error {
return syscall.Kill(pid, syscall.SIGKILL)
}