Commit 56539527 authored by ale's avatar ale

actually run Reindex after successful restore

parent 255276fa
......@@ -82,7 +82,7 @@ func restore(db *liber.Database, r io.Reader) error {
for {
key, value, err := readRecord(r)
if err == io.EOF {
return nil
break
} else if err != nil {
return err
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment