15 lines
242 B
Go
15 lines
242 B
Go
|
//go:build windows || plan9
|
||
|
|
||
|
package cmd
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
)
|
||
|
|
||
|
// Windows and Plan9 don't support SIGUSR1, so we don't need to start a signaler
|
||
|
func startSignaler(ctx context.Context) func() error {
|
||
|
return func() error {
|
||
|
return nil
|
||
|
}
|
||
|
}
|