restic/internal/ui/progress/signals_bsd.go

13 lines
190 B
Go
Raw Normal View History

// +build darwin dragonfly freebsd netbsd openbsd
package progress
import (
"os/signal"
"syscall"
)
func setupSignals() {
signal.Notify(signals.ch, syscall.SIGINFO, syscall.SIGUSR1)
}