restic/internal/ui/signals/signals_sysv.go

14 lines
185 B
Go

//go:build aix || linux || solaris
// +build aix linux solaris
package signals
import (
"os/signal"
"syscall"
)
func setupSignals() {
signal.Notify(signals.ch, syscall.SIGUSR1)
}