mirror of
https://github.com/octoleo/restic.git
synced 2024-11-19 19:45:18 +00:00
ddca699cd2
This fixes two race conditions while cleaning up the code.
13 lines
190 B
Go
13 lines
190 B
Go
// +build darwin dragonfly freebsd netbsd openbsd
|
|
|
|
package progress
|
|
|
|
import (
|
|
"os/signal"
|
|
"syscall"
|
|
)
|
|
|
|
func setupSignals() {
|
|
signal.Notify(signals.ch, syscall.SIGINFO, syscall.SIGUSR1)
|
|
}
|