diff --git a/buntdb.go b/buntdb.go index 13f00fc..4858d58 100644 --- a/buntdb.go +++ b/buntdb.go @@ -657,7 +657,7 @@ func (db *DB) load() error { return io.ErrUnexpectedEOF } if err == io.EOF { - return nil + break } return err }