2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-30 13:40:36 +00:00
restic/internal/ui/signals/signals_sysv.go

13 lines
150 B
Go
Raw Normal View History

2020-05-24 17:32:19 +00:00
// +build aix linux solaris
package signals
import (
"os/signal"
"syscall"
)
func setupSignals() {
signal.Notify(signals.ch, syscall.SIGUSR1)
}