seek to end of file

This commit is contained in:
Josh Baker 2016-08-14 08:25:50 -07:00
parent fe766585d1
commit d8c81d562f
1 changed files with 1 additions and 1 deletions

View File

@ -657,7 +657,7 @@ func (db *DB) load() error {
return io.ErrUnexpectedEOF return io.ErrUnexpectedEOF
} }
if err == io.EOF { if err == io.EOF {
return nil break
} }
return err return err
} }