1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2025-03-09 00:00:02 +01:00

Continue on error instead of returning

This commit is contained in:
Jan Bader 2015-11-05 21:42:01 +01:00
parent 5c39abfe53
commit ff473dbab6

View file

@ -144,7 +144,8 @@ func walk(basedir, dir string, selectFunc SelectFunc, done chan struct{}, jobs c
if isDir(fi) {
err = walk(basedir, subpath, selectFunc, done, jobs, ch)
if err != nil {
return err
fmt.Printf("Error processing %v: %v\n", subpath, err)
continue
}
} else {