summaryrefslogtreecommitdiff
path: root/system/db/content.go
diff options
context:
space:
mode:
Diffstat (limited to 'system/db/content.go')
-rw-r--r--system/db/content.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/db/content.go b/system/db/content.go
index f4671de..5ddf0a7 100644
--- a/system/db/content.go
+++ b/system/db/content.go
@@ -436,7 +436,7 @@ func SortContent(namespace string) {
err := store.Update(func(tx *bolt.Tx) error {
bname := []byte(namespace + "__sorted")
err := tx.DeleteBucket(bname)
- if err != nil {
+ if err != nil || err != bolt.ErrBucketNotFound {
return err
}