2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-16 18:15:20 +00:00
restic/internal/ui/signals/signals_sysv.go
2022-03-28 22:23:47 +02:00

14 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)
}