diff --git a/init/first_stage_console.cpp b/init/first_stage_console.cpp index c6c3008ce..007676483 100644 --- a/init/first_stage_console.cpp +++ b/init/first_stage_console.cpp @@ -78,6 +78,7 @@ static void RunScript() { const char* args[] = {path, "/first_stage.sh", nullptr}; int rv = execv(path, const_cast(args)); LOG(ERROR) << "unable to execv /first_stage.sh, returned " << rv << " errno " << errno; + _exit(127); } namespace android {