Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
bassosimone committed Dec 12, 2023
1 parent 769ae4e commit ac2a5cb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions internal/cmd/miniooni/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ac2a5cb

Please sign in to comment.