forked from TrueCloudLab/rclone
fs: correct default implementation of fs.CountError
This commit is contained in:
parent
66c3f2f31f
commit
8053fc4e16
1 changed files with 2 additions and 2 deletions
|
@ -29,11 +29,11 @@ var (
|
|||
}
|
||||
|
||||
// CountError counts an error. If any errors have been
|
||||
// counted then it will exit with a non zero error code.
|
||||
// counted then rclone will exit with a non zero error code.
|
||||
//
|
||||
// This is a function pointer to decouple the config
|
||||
// implementation from the fs
|
||||
CountError = func(err error) error { return nil }
|
||||
CountError = func(err error) error { return err }
|
||||
|
||||
// ConfigProvider is the config key used for provider options
|
||||
ConfigProvider = "provider"
|
||||
|
|
Loading…
Reference in a new issue