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

oauthutil: tell the user they should try again if the webserver method failed

Nick Craig-Wood852acd5e4eba
diff --git a/docs/content/drive.md b/docs/content/drive.md
index f65e10923..b3e462d53 100644
--- a/docs/content/drive.md
+++ b/docs/content/drive.md
@@ -41,7 +41,7 @@ client_secret>
Remote config
Use auto config?
* Say Y if not sure
- * Say N if you are working on a remote or headless machine
+ * Say N if you are working on a remote or headless machine or Y didn't work
y) Yes
n) No
y/n> y
diff --git a/docs/content/googlecloudstorage.md b/docs/content/googlecloudstorage.md
index 5de71ffbb..2aafeacb7 100644
--- a/docs/content/googlecloudstorage.md
+++ b/docs/content/googlecloudstorage.md
@@ -73,7 +73,7 @@ Remote config
Remote config
Use auto config?
* Say Y if not sure
- * Say N if you are working on a remote or headless machine
+ * Say N if you are working on a remote or headless machine or Y didn't work
y) Yes
n) No
y/n> y
diff --git a/oauthutil/oauthutil.go b/oauthutil/oauthutil.go
index 0ac60d649..77791dba4 100644
--- a/oauthutil/oauthutil.go
+++ b/oauthutil/oauthutil.go
@@ -195,7 +195,7 @@ func Config(name string, config *oauth2.Config) error {
case TitleBarRedirectURL:
fmt.Printf("Use auto config?\n")
fmt.Printf(" * Say Y if not sure\n")
- fmt.Printf(" * Say N if you are working on a remote or headless machine\n")
+ fmt.Printf(" * Say N if you are working on a remote or headless machine or Y didn't work\n")
useWebServer = fs.Confirm()
// copy the config and set to use the internal webserver
configCopy := *config