From d8c81d562f025d17d7ca7b21b8003cf19a2969ba Mon Sep 17 00:00:00 2001 From: Josh Baker Date: Sun, 14 Aug 2016 08:25:50 -0700 Subject: [PATCH] seek to end of file --- buntdb.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }