mirror of
https://github.com/rclone/rclone.git
synced 2025-12-11 22:14:05 +01:00
3
fs/fs.go
3
fs/fs.go
@@ -1317,7 +1317,8 @@ type setConfigFile string
|
||||
// Set a config item into the config file
|
||||
func (section setConfigFile) Set(key, value string) {
|
||||
if strings.HasPrefix(string(section), ":") {
|
||||
Errorf(nil, "Can't save config %q = %q for on the fly backend %q", key, value, section)
|
||||
Logf(nil, "Can't save config %q = %q for on the fly backend %q", key, value, section)
|
||||
return
|
||||
}
|
||||
Debugf(nil, "Saving config %q = %q in section %q of the config file", key, value, section)
|
||||
err := ConfigFileSet(string(section), key, value)
|
||||
|
||||
Reference in New Issue
Block a user