summaryrefslogtreecommitdiff
path: root/runtime/utils.cc
diff options
context:
space:
mode:
author Brian Carlstrom <bdc@google.com> 2014-02-28 19:41:53 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2014-02-28 19:41:53 +0000
commitba8fdcc10193cdfa825c973d740b7ebf6dec2d89 (patch)
tree2bc8ca2a0a8d7cde1acfae286bb17219546eae50 /runtime/utils.cc
parent1b22ddf2efe48ae1cbcdc34468037eca6072fe5c (diff)
parent13db9aa2d23e705d49c777abb45ba47e3747d873 (diff)
Merge "Avoid tripping up debuggered with the fatal crash abort"
Diffstat (limited to 'runtime/utils.cc')
-rw-r--r--runtime/utils.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/utils.cc b/runtime/utils.cc
index df1ab9446a..d8f8f8f0a3 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",