2024-04-29 00:32:28 +02:00
|
|
|
//go:build windows || plan9
|
|
|
|
|
|
|
|
package cmd
|
|
|
|
|
|
|
|
import (
|
|
|
|
"context"
|
|
|
|
)
|
|
|
|
|
|
|
|
// Windows and Plan9 don't support SIGUSR1, so we don't need to start a signaler
|
2024-05-02 05:09:04 +02:00
|
|
|
func startSignaller(ctx context.Context) func() error {
|
2024-04-29 00:32:28 +02:00
|
|
|
return func() error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|