mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-14 19:05:12 +08:00
checking error
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user