1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-23 16:26:11 +00:00
restic/internal/ui/signals/signals_sysv.go

14 lines
185 B
Go
Raw Normal View History

2022-03-28 20:23:47 +00:00
//go:build aix || linux || solaris
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)
}