1
0
mirror of https://github.com/rclone/rclone.git synced 2025-12-15 15:53:41 +00:00

config: move account initialisation out into accounting

Before this change the initialisation for the accounting package was
done in the config package for some strange historical reason.
This commit is contained in:
Nick Craig-Wood
2021-03-10 20:16:17 +00:00
parent 1fed2d910c
commit a7fd65bf2d
4 changed files with 16 additions and 10 deletions

View File

@@ -72,6 +72,7 @@ func Initialise() {
config.ConfigPath = envConfig
}
configfile.LoadConfig(ctx)
accounting.Start(ctx)
if *Verbose {
ci.LogLevel = fs.LogLevelDebug
}