Browse Source

checking error

pull/2/head
Chris Lu 12 years ago
parent
commit
38f4425a65
  1. 5
      go/weed/export.go

5
go/weed/export.go

@ -89,7 +89,10 @@ func runExport(cmd *Command, args []string) bool {
}
defer indexFile.Close()
nm := storage.LoadNeedleMap(indexFile)
nm, err := storage.LoadNeedleMap(indexFile)
if err != nil {
log.Fatalf("cannot load needle map from %s: %s", indexFile, err)
}
var version storage.Version

Loading…
Cancel
Save