Commit b69aeb9a authored by Cyrill Gorcunov's avatar Cyrill Gorcunov

restore: Don't continue on opening vmas file failure

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@gmail.com>
parent 34c72fc9
......@@ -1244,6 +1244,7 @@ static void restorer_test(pid_t pid)
fd_vmas = open(path, O_CREAT | O_WRONLY, CR_FD_PERM);
if (fd_vmas < 0) {
pr_perror("Can't open %s\n", path);
goto err;
}
num = 0;
......
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