about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
-rw-r--r--tools/klee/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/klee/main.cpp b/tools/klee/main.cpp
index a92aca8c..f3222336 100644
--- a/tools/klee/main.cpp
+++ b/tools/klee/main.cpp
@@ -377,8 +377,8 @@ void KleeHandler::processTestCase(const ExecutionState &state,
                                   const char *errorMessage, 
                                   const char *errorSuffix) {
   if (errorMessage && ExitOnError) {
-    llvm::cerr << "EXITING ON ERROR: " << errorMessage << "\n";
-    abort();
+    llvm::cerr << "EXITING ON ERROR:\n" << errorMessage << "\n";
+    exit(1);
   }
 
   if (!NoOutput) {