diff --git a/codex.nim b/codex.nim index e0cb598e..a55e0fc5 100644 --- a/codex.nim +++ b/codex.nim @@ -67,6 +67,9 @@ when isMainModule: # permissions are insecure. quit QuitFailure + if not(checkAndCreateDataDir((config.circuitDir).string)): + quit QuitFailure + trace "Data dir initialized", dir = $config.dataDir if not(checkAndCreateDataDir((config.dataDir / "repo"))):