Skip to content

Commit

Permalink
Remove working directory check
Browse files Browse the repository at this point in the history
  • Loading branch information
fmeum committed Nov 6, 2023
1 parent 0a95ee2 commit 1818a82
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/main/tools/linux-sandbox-options.cc
Original file line number Diff line number Diff line change
Expand Up @@ -257,13 +257,6 @@ static void ParseCommandLine(unique_ptr<vector<char *>> args) {
}
}

if (!opt.working_dir.empty() && !opt.sandbox_root.empty() &&
opt.working_dir.find(opt.sandbox_root) == std::string::npos) {
Usage(args->front(),
"working-dir %s (-W) should be a "
"subdirectory of sandbox-dir %s (-h)",
opt.working_dir.c_str(), opt.sandbox_root.c_str());
}
if (optind < static_cast<int>(args->size())) {
if (opt.args.empty()) {
opt.args.assign(args->begin() + optind, args->end());
Expand Down

0 comments on commit 1818a82

Please sign in to comment.