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:
parent
5c39abfe53
commit
ff473dbab6
1 changed files with 2 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue