mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Replace a CHECK with a warning
PiperOrigin-RevId: 388893117 Change-Id: I0b0ccf2045aea09d31ae1605b205aab456bd8550
This commit is contained in:
parent
8b1dfd7343
commit
80ad7bb2b0
@ -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;
|
||||
}();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user