aboutsummaryrefslogtreecommitdiff
path: root/cmd/bolt/set.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/bolt/set.go')
-rw-r--r--cmd/bolt/set.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/bolt/set.go b/cmd/bolt/set.go
index 9761f44..f4a4696 100644
--- a/cmd/bolt/set.go
+++ b/cmd/bolt/set.go
@@ -21,6 +21,7 @@ func Set(path, name, key, value string) {
defer db.Close()
err = db.Update(func(tx *bolt.Tx) error {
+
// Find bucket.
b := tx.Bucket([]byte(name))
if b == nil {