restic/internal/ui/signals/signals_sysv.go

13 lines
150 B
Go

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