mirror of
https://github.com/rclone/rclone.git
synced 2025-12-16 00:04:40 +00:00
config: --config "" or "/notfound" for in memory config only #4996
If `--config` is set to empty string or the special value `/notfound` then rclone will keep the config file in memory only.
This commit is contained in:
@@ -242,8 +242,7 @@ func SaveConfig() {
|
||||
waitingTimeMs := mathrand.Intn(1000)
|
||||
time.Sleep(time.Duration(waitingTimeMs) * time.Millisecond)
|
||||
}
|
||||
log.Fatalf("Failed to save config after %d tries: %v", ci.LowLevelRetries, err)
|
||||
|
||||
fs.Errorf(nil, "Failed to save config after %d tries: %v", ci.LowLevelRetries, err)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user