summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2014-02-28 19:41:53 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-02-28 19:41:53 +0000
commitba8fdcc10193cdfa825c973d740b7ebf6dec2d89 (patch)
tree2bc8ca2a0a8d7cde1acfae286bb17219546eae50 /runtime
parent1b22ddf2efe48ae1cbcdc34468037eca6072fe5c (diff)
parent13db9aa2d23e705d49c777abb45ba47e3747d873 (diff)
downloadart-ba8fdcc10193cdfa825c973d740b7ebf6dec2d89.zip
art-ba8fdcc10193cdfa825c973d740b7ebf6dec2d89.tar.gz
art-ba8fdcc10193cdfa825c973d740b7ebf6dec2d89.tar.bz2
Merge "Avoid tripping up debuggered with the fatal crash abort"
Diffstat (limited to 'runtime')
-rw-r--r--runtime/utils.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/utils.cc b/runtime/utils.cc
index df1ab94..d8f8f8f 100644
--- a/runtime/utils.cc
+++ b/runtime/utils.cc
@@ -1232,8 +1232,8 @@ bool Exec(std::vector<std::string>& arg_vector, std::string* error_msg) {
execv(program, &args[0]);
- PLOG(FATAL) << "Failed to execv(" << command_line << ")";
- return false;
+ PLOG(ERROR) << "Failed to execv(" << command_line << ")";
+ exit(1);
} else {
if (pid == -1) {
*error_msg = StringPrintf("Failed to execv(%s) because fork failed: %s",