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
parent fcba51557f
commit c114695a66
1 changed files with 5 additions and 0 deletions

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)
}