Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Need to ensure temp directory exists. GH #7939
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsonb@objectcomputing.com authored and johnsonb@objectcomputing.com committed Oct 2, 2019
1 parent a607f9b commit 798bece
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/chain/block_log.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -972,6 +972,7 @@ namespace eosio { namespace chain {
}

// ****** create the new block log file and write out the header for the file
fc::create_directories(temp_dir);
fc::path new_block_filename = temp_dir / "blocks.log";
if (fc::remove(new_block_filename)) {
ilog("Removing old blocks.out file");
Expand Down

0 comments on commit 798bece

Please sign in to comment.