1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-22 15:57:07 +00:00
restic/internal/ui/signals/signals_sysv.go
2022-03-28 22:23:47 +02:00

13 lines
185 B
Go

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