mirror of
https://github.com/restic/restic.git
synced 2026-11-17 22:55:04 +00:00
Replace restic.Progress with new progress.Counter
This fixes two race conditions while cleaning up the code.
This commit is contained in:
1 parent
5731e391f8
commit
ddca699cd2
15 files changed
+229
-323
No files matched your search
@@ -0,0 +1,12 @@
|
||||
// +build linux solaris
|
||||
|
||||
package progress
|
||||
|
||||
import (
|
||||
"os/signal"
|
||||
"syscall"
|
||||
)
|
||||
|
||||
func setupSignals() {
|
||||
signal.Notify(signals.ch, syscall.SIGUSR1)
|
||||
}
|
||||
Reference in new issue
Block a user