summaryrefslogtreecommitdiff
path: root/system/db
diff options
context:
space:
mode:
Diffstat (limited to 'system/db')
-rw-r--r--system/db/addon.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/db/addon.go b/system/db/addon.go
index a145293..0f63405 100644
--- a/system/db/addon.go
+++ b/system/db/addon.go
@@ -119,7 +119,7 @@ func DeleteAddon(key string) error {
err := store.Update(func(tx *bolt.Tx) error {
b := tx.Bucket([]byte("__addons"))
if b == nil {
- bolt.ErrBucketNotFound
+ return bolt.ErrBucketNotFound
}
if err := b.Delete([]byte(key)); err != nil {