2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-12 00:06:35 +00:00
restic/internal/ui/progress/signals_sysv.go

13 lines
151 B
Go
Raw Normal View History

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