forked from TrueCloudLab/rclone
Fix config loop - fixes #25
This commit is contained in:
parent
165e89c266
commit
8d1c0ad07c
1 changed files with 2 additions and 1 deletions
|
@ -330,6 +330,7 @@ func EditConfig() {
|
|||
name := ChooseRemote()
|
||||
EditRemote(name)
|
||||
case 'n':
|
||||
nameLoop:
|
||||
for {
|
||||
fmt.Printf("name> ")
|
||||
name := ReadLine()
|
||||
|
@ -340,7 +341,7 @@ func EditConfig() {
|
|||
fmt.Printf("Can't use %q as it can be confused a drive letter\n", name)
|
||||
default:
|
||||
NewRemote(name)
|
||||
break
|
||||
break nameLoop
|
||||
}
|
||||
}
|
||||
case 'd':
|
||||
|
|
Loading…
Reference in a new issue