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

Fix missing "quit" option when there are no remotes.

Klaus Post8f4d6973fbb0
diff --git a/fs/config.go b/fs/config.go
index 19f625507..c3adc9cd3 100644
--- a/fs/config.go
+++ b/fs/config.go
@@ -810,7 +810,7 @@ func EditConfig() {
fmt.Printf("\n")
} else {
fmt.Printf("No remotes found - make a new one\n")
- what = append(what[1:2], what[3])
+ what = append(what[1:2], what[3:]...)
}
switch i := Command(what); i {
case 'e':