mirror of
https://github.com/rclone/rclone.git
synced 2025-08-18 01:20:16 +02: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:
@@ -386,6 +386,9 @@ func initConfig() {
|
||||
// Load the config
|
||||
configfile.LoadConfig(ctx)
|
||||
|
||||
// Start accounting
|
||||
accounting.Start(ctx)
|
||||
|
||||
// Hide console window
|
||||
if ci.NoConsole {
|
||||
terminal.HideConsole()
|
||||
|
Reference in New Issue
Block a user