restic/internal/ui/progress/signals_sysv.go

13 lines
147 B
Go
Raw Normal View History

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