From 8102fcde4cad92b0ec7ebfda593ed20ded63f0e0 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 16 Jan 2005 04:23:22 +0000 Subject: [PATCH] Fix bugpoint git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19605 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/System/Unix/Program.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/System/Unix/Program.inc b/lib/System/Unix/Program.inc index 1bd3eae0f97..484ce0f8c89 100644 --- a/lib/System/Unix/Program.inc +++ b/lib/System/Unix/Program.inc @@ -211,8 +211,7 @@ Program::ExecuteAndWait(const Path& path, if (WIFEXITED (status)) return WEXITSTATUS(status); else if (WIFSIGNALED(status)) - throw std::string("Program '") + path.toString() + - "' received terminating signal."; + return 1; #else throw std::string(