commit | 3b79ada7efa25db3c3f1ff14f342003d76a289f4 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | Mon Feb 19 10:49:01 2024 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Mon Feb 19 10:49:01 2024 +0000 |
tree | b7ada29d9cafbc5d11c6ce14eab59d4082ea1024 | |
parent | f27d8cebbd8cd7d87b56ce7f81158d3d5de5ae6a [diff] | |
parent | 0335dac70df8d0d793faada8dad8d42ea40fb0be [diff] |
Merge "first_stage_console: Fix execv() child error path" into main
diff --git a/init/first_stage_console.cpp b/init/first_stage_console.cpp index c6c3008..0076764 100644 --- a/init/first_stage_console.cpp +++ b/init/first_stage_console.cpp
@@ -78,6 +78,7 @@ 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 {