diff --git a/internal/cmd/miniooni/session.go b/internal/cmd/miniooni/session.go index a56262c02b..e83d7ed6fc 100644 --- a/internal/cmd/miniooni/session.go +++ b/internal/cmd/miniooni/session.go @@ -27,9 +27,10 @@ func newSessionOrPanic(ctx context.Context, currentOptions *Options, proxyURL = mustParseURL(currentOptions.Proxy) } - kvstore2dir := filepath.Join(miniooniDir, "kvstore2") - kvstore, err := kvstore.NewFS(kvstore2dir) - runtimex.PanicOnError(err, "cannot create kvstore2 directory") + // TODO(bassosimone): move the kvstore2 directory if needed + enginedir := filepath.Join(miniooniDir, "engine") + kvstore, err := kvstore.NewFS(enginedir) + runtimex.PanicOnError(err, "cannot create engine directory") tunnelDir := filepath.Join(miniooniDir, "tunnel") err = os.MkdirAll(tunnelDir, 0700)