drive: Don't attempt to choose Team Drives when using rclone config create

This commit is contained in:
Nick Craig-Wood 2018-05-16 09:10:09 +01:00
parent 8e625e0bc3
commit 9697754707

View File

@ -400,7 +400,7 @@ func configTeamDrive(name string) error {
} else { } else {
fmt.Printf("Change current team drive ID %q?\n", teamDrive) fmt.Printf("Change current team drive ID %q?\n", teamDrive)
} }
if !config.Confirm() { if !config.ConfirmWithDefault(false) {
return nil return nil
} }
client, err := createOAuthClient(name) client, err := createOAuthClient(name)