Commit 870bf2d5 authored by Ruslan Kuprieiev's avatar Ruslan Kuprieiev Committed by Pavel Emelyanov

libcriu: print error if exec failed

Reported-by: 's avatarPaschalis Mpeis <paschalis.mpeis@ed.ac.uk>
Signed-off-by: 's avatarRuslan Kuprieiev <kupruser@gmail.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 54081aff
......@@ -658,6 +658,7 @@ int criu_restore_child(void)
sprintf(fds, "%d", sks[1]);
execlp("criu", "criu", "swrk", fds, NULL);
perror("Can't exec criu swrk");
exit(1);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment