Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

fs: Save the config before asking for a token - fixes #1220

Nick Craig-Wood02ffd435724e
diff --git a/fs/config.go b/fs/config.go
index 2b3e83f42..16968672c 100644
--- a/fs/config.go
+++ b/fs/config.go
@@ -1150,12 +1150,12 @@ func EditRemote(fs *RegInfo, name string) {
configData.SetValue(name, key, newValue)
}
}
- RemoteConfig(name)
if OkRemote(name) {
break
}
}
SaveConfig()
+ RemoteConfig(name)
}
// DeleteRemote gets the user to delete a remote