coverity: #1435205

Unchecked return value Signed-off-by: 's avatarChristian Brauner <christian.brauner@ubuntu.com>
parent 9cd2a7e4
...@@ -124,7 +124,7 @@ static int test_attach_lsm_func(struct lxc_container *ct) ...@@ -124,7 +124,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]);
...@@ -178,7 +178,7 @@ static int test_attach_lsm_cmd(struct lxc_container *ct) ...@@ -178,7 +178,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]);
...@@ -240,7 +240,7 @@ static int test_attach_func(struct lxc_container *ct) ...@@ -240,7 +240,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