adjust logging

fix https://github.com/chrislusf/seaweedfs/issues/1999
This commit is contained in:
Chris Lu 2021-04-14 10:04:09 -07:00
parent 4480d72cab
commit ff4c1d5965

View file

@ -215,7 +215,7 @@ func runExport(cmd *Command, args []string) bool {
err = storage.ScanVolumeFile(util.ResolvePath(*export.dir), *export.collection, vid, storage.NeedleMapInMemory, volumeFileScanner)
if err != nil && err != io.EOF {
glog.Fatalf("Export Volume File [ERROR] %s\n", err)
glog.Errorf("Export Volume File [ERROR] %s\n", err)
}
return true
}