2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-23 11:28:54 +00:00
restic/internal/ui/signals/signals_bsd.go
2020-12-29 16:32:18 +01:00

13 lines
189 B
Go

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