2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-02 09:58:25 +00:00
restic/internal/ui/progress/signals_sysv.go
2020-12-29 01:35:01 +01:00

13 lines
151 B
Go

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