diff options
Diffstat (limited to 'scripts/Expect.py')
-rwxr-xr-x | scripts/Expect.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/Expect.py b/scripts/Expect.py index f7eafd8cc95..872ea250078 100755 --- a/scripts/Expect.py +++ b/scripts/Expect.py @@ -453,9 +453,8 @@ class Expect (object): self.exitstatus = self.p.wait() - # A Windows application with a negative exit status means - # killed by CTRL_BREAK. Fudge the exit status. - if win32 and self.exitstatus < 0 and self.killed is not None: + # A Windows application killed with CTRL_BREAK. Fudge the exit status. + if win32 and self.killed is not None: self.exitstatus = -self.killed self.p = None self.r.join() |