Skip to content

Commit

Permalink
Merge pull request #439 from simsong/fix-shadow
Browse files Browse the repository at this point in the history
No longer ignores -J or --no_threads
  • Loading branch information
simsong authored Jan 15, 2024
2 parents 3eb2a98 + 7e2f14c commit 32400aa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/bulk_extractor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,10 @@ int bulk_extractor_main( std::ostream &cout, std::ostream &cerr, int argc,char *
cfg.num_threads = 0;
}

if ( result.count( "no_threads" )) {
cfg.num_threads = 0;
}

sc.max_depth = result["max_depth"].as<int>();
cfg.max_bad_alloc_errors = result["max_bad_alloc_errors"].as<int>();

Expand Down

0 comments on commit 32400aa

Please sign in to comment.