diff --git a/sandboxed_api/sandbox2/executor.h b/sandboxed_api/sandbox2/executor.h index 0bd0cfc..1e7ddb3 100644 --- a/sandboxed_api/sandbox2/executor.h +++ b/sandboxed_api/sandbox2/executor.h @@ -148,7 +148,9 @@ class Executor final { // chdir to cwd_, if set. Defaults to current working directory. std::string cwd_ = []() { std::string cwd = sapi::file_util::fileops::GetCWD(); - PCHECK(!cwd.empty()); + if (cwd.empty()) { + PLOG(WARNING) << "Getting current working directory"; + } return cwd; }();