1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-24 09:18:08 +00:00

Fix return code check for SIGSEGV of IOU images

Fix #948
This commit is contained in:
Julien Duponchelle 2017-03-20 09:46:07 +01:00
parent 2ddb329a90
commit c8b46bdcab
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -572,7 +572,7 @@ class IOUVM(BaseNode):
self._terminate_process_iou()
if returncode != 0:
if returncode == 11:
if returncode == -11:
message = "{} process has stopped, return code: {}. This could be an issue with the image using a different image can fix the issue.\n{}".format(process_name, returncode, self.read_iou_stdout())
else:
message = "{} process has stopped, return code: {}\n{}".format(process_name, returncode, self.read_iou_stdout())