summaryrefslogtreecommitdiff
path: root/vendor/github.com/boltdb/bolt/db.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/boltdb/bolt/db.go')
-rw-r--r--vendor/github.com/boltdb/bolt/db.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/vendor/github.com/boltdb/bolt/db.go b/vendor/github.com/boltdb/bolt/db.go
index cc3596fa7..f352ff14f 100644
--- a/vendor/github.com/boltdb/bolt/db.go
+++ b/vendor/github.com/boltdb/bolt/db.go
@@ -737,7 +737,9 @@ retry:
// pass success, or bolt internal errors, to all callers
for _, c := range b.calls {
- c.err <- err
+ if c.err != nil {
+ c.err <- err
+ }
}
break retry
}