mirror of
https://github.com/octoleo/restic.git
synced 2024-11-13 16:56:27 +00:00
13 lines
151 B
Go
13 lines
151 B
Go
// +build aix linux solaris
|
|
|
|
package progress
|
|
|
|
import (
|
|
"os/signal"
|
|
"syscall"
|
|
)
|
|
|
|
func setupSignals() {
|
|
signal.Notify(signals.ch, syscall.SIGUSR1)
|
|
}
|