pipe: propagate errors properly

This commit is contained in:
Alexander Neumann
2015-11-06 19:41:57 +01:00
parent 7c3d227527
commit 1569176e48
4 changed files with 140 additions and 60 deletions
+2 -1
View File
@@ -10,12 +10,13 @@ import (
"syscall"
"time"
"runtime"
"github.com/juju/errors"
"github.com/restic/restic/backend"
"github.com/restic/restic/debug"
"github.com/restic/restic/pack"
"github.com/restic/restic/repository"
"runtime"
)
// Node is a file, directory or other item in a backup.