Merge "Fix bug in fs_mgr with calling vdc"
This commit is contained in:
commit
24b861d742
1 changed files with 2 additions and 1 deletions
|
@ -791,7 +791,8 @@ static bool call_vdc(const std::vector<std::string>& args) {
|
|||
argv.emplace_back(arg.c_str());
|
||||
}
|
||||
LOG(INFO) << "Calling: " << android::base::Join(argv, ' ');
|
||||
int ret = android_fork_execvp(4, const_cast<char**>(argv.data()), nullptr, false, true);
|
||||
int ret =
|
||||
android_fork_execvp(argv.size(), const_cast<char**>(argv.data()), nullptr, false, true);
|
||||
if (ret != 0) {
|
||||
LOG(ERROR) << "vdc returned error code: " << ret;
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue