1
0
mirror of https://github.com/rclone/rclone.git synced 2025-12-06 00:03:32 +00:00

zoho: do not ask for mountpoint twice when using headless setup

This commit is contained in:
buengese
2021-04-06 22:25:01 +02:00
committed by Nick Craig-Wood
parent 1a5e67fe98
commit b30d7a026f

View File

@@ -96,6 +96,11 @@ func init() {
log.Fatalf("Failed to configure token: %v", err)
}
}
if fs.GetConfig(ctx).AutoConfirm {
return
}
if err = setupRoot(ctx, name, m); err != nil {
log.Fatalf("Failed to configure root directory: %v", err)
}