aboutsummaryrefslogtreecommitdiff
path: root/cmd/bolt/export.go
diff options
context:
space:
mode:
authorBen Johnson <benbjohnson@yahoo.com>2014-06-22 10:10:55 -0600
committerBen Johnson <benbjohnson@yahoo.com>2014-06-22 10:10:55 -0600
commit4f428feecc153d0cb8e4867ea15b3bf1ae6ff3f5 (patch)
tree03190de76962bf6166752f086c1abd83bb965ec3 /cmd/bolt/export.go
parentMerge pull request #209 from benbjohnson/next-seq-uint64 (diff)
parentAdd Open() options, flock timeout. (diff)
downloaddedo-4f428feecc153d0cb8e4867ea15b3bf1ae6ff3f5.tar.gz
dedo-4f428feecc153d0cb8e4867ea15b3bf1ae6ff3f5.tar.xz
Merge pull request #208 from benbjohnson/open-timeout
Add Open() options, flock timeout.
Diffstat (limited to 'cmd/bolt/export.go')
-rw-r--r--cmd/bolt/export.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/bolt/export.go b/cmd/bolt/export.go
index 2dcbc1f..2689f32 100644
--- a/cmd/bolt/export.go
+++ b/cmd/bolt/export.go
@@ -16,7 +16,7 @@ func Export(path string) {
}
// Open the database.
- db, err := bolt.Open(path, 0600)
+ db, err := bolt.Open(path, 0600, nil)
if err != nil {
fatal(err)
return