From 2103d078f2edb7d60fcc338505b0baa103adbeba Mon Sep 17 00:00:00 2001 From: Benoit Foucher Date: Fri, 30 Nov 2012 13:30:26 +0100 Subject: Fixed ICE-5061 - Fixed previous fix for Windows exit status issue --- scripts/Expect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/Expect.py') diff --git a/scripts/Expect.py b/scripts/Expect.py index 872ea250078..0f104ccb56f 100755 --- a/scripts/Expect.py +++ b/scripts/Expect.py @@ -454,7 +454,7 @@ class Expect (object): self.exitstatus = self.p.wait() # A Windows application killed with CTRL_BREAK. Fudge the exit status. - if win32 and self.killed is not None: + if win32 and self.exitstatus != 0 and self.killed is not None: self.exitstatus = -self.killed self.p = None self.r.join() -- cgit v1.2.3