Fix compilation problem.
This commit is contained in:
parent
1d76683a8b
commit
fc09c2b3d4
|
@ -1095,7 +1095,7 @@ programMain:
|
|||
# This is ref so we can mutate it (to erase it) after the initial loading.
|
||||
stateSnapshotContents: ref string
|
||||
|
||||
if not(checkAndCreateDataDir(config)):
|
||||
if not(checkAndCreateDataDir(string(config.dataDir))):
|
||||
# We are unable to access/create data folder or data folder's
|
||||
# permissions are insecure.
|
||||
quit QuitFailure
|
||||
|
|
Loading…
Reference in New Issue