Merge "first_stage_console: Fix execv() child error path" into main am: 3b79ada7ef
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2959288 Change-Id: I56ddf989130e37f9d3a5ca6b884da6eeac46c62f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
dccae8ce3c
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…
Add table
Reference in a new issue