Browse Source

fixed bug because of leveldb's change

pull/103/head
Lunny Xiao 11 years ago
parent
commit
86d369a75a
  1. 2
      cmd/serve.go

2
cmd/serve.go

@ -438,7 +438,7 @@ func startService(listen, port string) error {
dbDir = strings.Replace(dbDir, "~", homeDir, -1)
db, err = leveldb.OpenFile(dbDir, &opt.Options{Flag: opt.OFCreateIfMissing})
db, err = leveldb.OpenFile(dbDir, nil)
if err != nil {
return err
}

Loading…
Cancel
Save