Skip to content

Commit f035547

Browse files
committed
Remove working directory check
1 parent 88fd6fb commit f035547

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/main/tools/linux-sandbox-options.cc

-7
Original file line numberDiff line numberDiff line change
@@ -257,13 +257,6 @@ static void ParseCommandLine(unique_ptr<vector<char *>> args) {
257257
}
258258
}
259259

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

0 commit comments

Comments
 (0)