mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-15 20:06:19 +08:00
add lots of error checking by GThomas
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"code.google.com/p/weed-fs/go/storage"
|
||||
"log"
|
||||
"os"
|
||||
"path"
|
||||
"code.google.com/p/weed-fs/go/storage"
|
||||
"strconv"
|
||||
)
|
||||
|
||||
@@ -52,7 +52,7 @@ func runFix(cmd *Command, args []string) bool {
|
||||
debug("saved", count, "with error", pe)
|
||||
} else {
|
||||
debug("skipping deleted file ...")
|
||||
nm.Delete(n.Id)
|
||||
return nm.Delete(n.Id)
|
||||
}
|
||||
return nil
|
||||
})
|
||||
|
Reference in New Issue
Block a user