1
0
mirror of https://github.com/restic/restic.git synced 2024-07-07 09:30:53 +02:00
restic/internal/ui/progress/signals_sysv.go
greatroar ddca699cd2 Replace restic.Progress with new progress.Counter
This fixes two race conditions while cleaning up the code.
2020-11-09 12:12:35 +01:00

13 lines
147 B
Go

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