Skip to content

Commit

Permalink
windows killed ssh code 4294967295
Browse files Browse the repository at this point in the history
  • Loading branch information
joknarf committed Jul 8, 2024
1 parent 6436d7a commit 2aee27f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ssh_para/ssh_para.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ def join(self, *args):
def interrupt(self, jstatus):
"""sigint handler to log/print summary"""

if jstatus and jstatus.exit in [-2, 255]:
if jstatus and jstatus.exit in [-2, 255, 4294967295]:
jstatus.status = "KILLED"
jstatus.exit = 256
while True:
Expand All @@ -380,7 +380,7 @@ def interrupt(self, jstatus):
jstatus.fdlog = open(jstatus.logfile, "rb")
jstatus.log = last_line(jstatus.fdlog)
jstatus.fdlog.close()
if jstatus.exit in [-2, 255]:
if jstatus.exit in [-2, 255, 4294967295]:
jstatus.status = "KILLED"
jstatus.exit = 256
self.job_status.append(jstatus)
Expand Down

0 comments on commit 2aee27f

Please sign in to comment.