Fix return code check for SIGSEGV of IOU images

Fix #948
This commit is contained in:
Julien Duponchelle committed 2017-03-20 09:46:07 +01:00
1 parent 2ddb329a90
commit c8b46bdcab
1 file changed
+1 -1
+1 -1
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())