Merge "first_stage_console: Fix execv() child error path" into main

This commit is contained in:
Treehugger Robot 2024-02-19 10:49:01 +00:00 committed by Gerrit Code Review
commit 3b79ada7ef

View file

@ -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 {