mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-20 01:54:28 +00:00
py: Fix resp.errno access
There's no such field in resp, only cr_errno travis-ci: success for py: Fix resp.errno access Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com> Acked-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
parent
36e43e20fd
commit
9fe7ccca6e
1 changed files with 1 additions and 1 deletions
|
|
@ -277,6 +277,6 @@ class criu:
|
|||
resp = self._send_req_and_recv_resp(req)
|
||||
|
||||
if not resp.success:
|
||||
raise CRIUExceptionExternal(req.type, resp.type, resp.errno)
|
||||
raise CRIUExceptionExternal(req.type, resp.type, resp.cr_errno)
|
||||
|
||||
return resp.restore
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue