| 1 | //go:build !linux |
| 2 | |
| 3 | package main |
| 4 | |
| 5 | import "syscall" |
| 6 | |
| 7 | // dieWithParent asks nothing of a child process where the system cannot |
| 8 | // kill it when its parent dies. There, a telemetry request's ssh that a |
| 9 | // command leaves behind ends when the host ends the request, or when its |
| 10 | // keepalive gives up on a dead connection (docs/reference.md). |
| 11 | func dieWithParent() *syscall.SysProcAttr { |
| 12 | return nil |
| 13 | } |