mirror of
https://github.com/octoleo/restic.git
synced 2024-11-12 08:16:37 +00:00
ddca699cd2
This fixes two race conditions while cleaning up the code.
13 lines
147 B
Go
13 lines
147 B
Go
// +build linux solaris
|
|
|
|
package progress
|
|
|
|
import (
|
|
"os/signal"
|
|
"syscall"
|
|
)
|
|
|
|
func setupSignals() {
|
|
signal.Notify(signals.ch, syscall.SIGUSR1)
|
|
}
|