mirror of
https://github.com/rclone/rclone.git
synced 2025-12-15 07:43:35 +00:00
fs: correct default implementation of fs.CountError
This commit is contained in:
@@ -29,11 +29,11 @@ var (
|
|||||||
}
|
}
|
||||||
|
|
||||||
// CountError counts an error. If any errors have been
|
// 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
|
// This is a function pointer to decouple the config
|
||||||
// implementation from the fs
|
// 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 is the config key used for provider options
|
||||||
ConfigProvider = "provider"
|
ConfigProvider = "provider"
|
||||||
|
|||||||
Reference in New Issue
Block a user