Fix compilation problem.

This commit is contained in:
cheatfate 2020-08-26 11:13:08 +03:00 committed by zah
parent 1d76683a8b
commit fc09c2b3d4
1 changed files with 1 additions and 1 deletions

View File

@ -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