diff --git a/src/leveled_penciller.erl b/src/leveled_penciller.erl index ae18fcd..4b78d9e 100644 --- a/src/leveled_penciller.erl +++ b/src/leveled_penciller.erl @@ -596,8 +596,8 @@ start_from_file(PCLopts) -> levelzero_maxcachesize=MaxTableSize}, %% Open manifest - ManifestPath = filename:join(InitState#state.root_path, ?MANIFEST_FP), - filelib:ensure_dir(ManifestPath), + ManifestPath = InitState#state.root_path ++ ?MANIFEST_FP ++ "/", + ok = filelib:ensure_dir(ManifestPath), {ok, Filenames} = file:list_dir(ManifestPath), CurrRegex = "nonzero_(?[0-9]+)\\." ++ ?CURRENT_FILEX, ValidManSQNs = lists:foldl(fun(FN, Acc) ->