Merge "first_stage_console: Fix execv() child error path" into main
This commit is contained in:
commit
3b79ada7ef
1 changed files with 1 additions and 0 deletions
|
@ -78,6 +78,7 @@ static void RunScript() {
|
|||
const char* args[] = {path, "/first_stage.sh", nullptr};
|
||||
int rv = execv(path, const_cast<char**>(args));
|
||||
LOG(ERROR) << "unable to execv /first_stage.sh, returned " << rv << " errno " << errno;
|
||||
_exit(127);
|
||||
}
|
||||
|
||||
namespace android {
|
||||
|
|
Loading…
Reference in a new issue