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

This commit is contained in:
Klaus Post authored and Nick Craig-Wood committed 2016-03-23 16:57:56 +00:00
1 parent ced3a4bc19
commit 8f4d6973fb
1 file changed
+1 -1
+1 -1
View File
@@ -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':