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

This commit is contained in:
Klaus Post 2016-03-23 10:11:57 +01:00 committed by Nick Craig-Wood
parent ced3a4bc19
commit 8f4d6973fb

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':