Merge pull request #40 from harshavardhana/pr_out_decode_on_chunks_missing_should_build_and_continue

master
Harshavardhana 10 years ago
commit 95e2e472cd
  1. 6
      cmd/minio-decode/main.go

@ -12,8 +12,8 @@ import (
func main() { func main() {
app := cli.NewApp() app := cli.NewApp()
app.Name = "minio-encode" app.Name = "minio-decode"
app.Usage = "erasure encode a byte stream" app.Usage = "erasure decode a byte stream"
app.Flags = []cli.Flag{ app.Flags = []cli.Flag{
cli.StringFlag{ cli.StringFlag{
Name: "input,i", Name: "input,i",
@ -63,7 +63,7 @@ func main() {
var err error var err error
chunks[i], err = ioutil.ReadFile(inputFilePath + "." + strconv.Itoa(i)) chunks[i], err = ioutil.ReadFile(inputFilePath + "." + strconv.Itoa(i))
if err != nil { if err != nil {
log.Fatal(err) continue
} }
} }

Loading…
Cancel
Save