coverity: #1435205

Unchecked return value Signed-off-by: 's avatarChristian Brauner <christian.brauner@ubuntu.com>
parent 58ae8b1e
...@@ -122,7 +122,7 @@ static int test_attach_lsm_func(struct lxc_container *ct) ...@@ -122,7 +122,7 @@ static int test_attach_lsm_func(struct lxc_container *ct)
ret = 0; ret = 0;
err2: err2:
wait_for_pid(pid); (void)wait_for_pid(pid);
err1: err1:
close(pipefd[0]); close(pipefd[0]);
close(pipefd[1]); close(pipefd[1]);
...@@ -176,7 +176,7 @@ static int test_attach_lsm_cmd(struct lxc_container *ct) ...@@ -176,7 +176,7 @@ static int test_attach_lsm_cmd(struct lxc_container *ct)
ret = 0; ret = 0;
err2: err2:
wait_for_pid(pid); (void)wait_for_pid(pid);
err1: err1:
close(pipefd[0]); close(pipefd[0]);
close(pipefd[1]); close(pipefd[1]);
...@@ -238,7 +238,7 @@ static int test_attach_func(struct lxc_container *ct) ...@@ -238,7 +238,7 @@ static int test_attach_func(struct lxc_container *ct)
ret = 0; ret = 0;
err2: err2:
wait_for_pid(pid); (void)wait_for_pid(pid);
err1: err1:
close(pipefd[0]); close(pipefd[0]);
close(pipefd[1]); close(pipefd[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