rclone: implement exit codes - #1136
This commit is contained in:
parent
2423fa40e2
commit
aec2265be0
12 changed files with 140 additions and 66 deletions
|
@ -85,7 +85,7 @@ can be processed line by line as each item is written one to a line.
|
|||
first := true
|
||||
err := fs.Walk(fsrc, "", false, fs.ConfigMaxDepth(recurse), func(dirPath string, entries fs.DirEntries, err error) error {
|
||||
if err != nil {
|
||||
fs.Stats.Error()
|
||||
fs.Stats.Error(err)
|
||||
fs.Errorf(dirPath, "error listing: %v", err)
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue