mirror of
https://github.com/restic/restic.git
synced 2024-08-22 12:23:29 +02:00
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)
|
||
|
}
|