From 8f4d6973fbb0cc03249aedcb4b81ddcb8716979f Mon Sep 17 00:00:00 2001 From: Klaus Post Date: Wed, 23 Mar 2016 10:11:57 +0100 Subject: [PATCH] Fix missing "quit" option when there are no remotes. --- fs/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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':