mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-15 13:47:41 +00:00
coverity: #1435205
Unchecked return value Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
46768cced9
commit
dbdf8cf420
@ -124,7 +124,7 @@ static int test_attach_lsm_func(struct lxc_container *ct)
|
||||
ret = 0;
|
||||
|
||||
err2:
|
||||
wait_for_pid(pid);
|
||||
(void)wait_for_pid(pid);
|
||||
err1:
|
||||
close(pipefd[0]);
|
||||
close(pipefd[1]);
|
||||
@ -178,7 +178,7 @@ static int test_attach_lsm_cmd(struct lxc_container *ct)
|
||||
ret = 0;
|
||||
|
||||
err2:
|
||||
wait_for_pid(pid);
|
||||
(void)wait_for_pid(pid);
|
||||
err1:
|
||||
close(pipefd[0]);
|
||||
close(pipefd[1]);
|
||||
@ -240,7 +240,7 @@ static int test_attach_func(struct lxc_container *ct)
|
||||
ret = 0;
|
||||
|
||||
err2:
|
||||
wait_for_pid(pid);
|
||||
(void)wait_for_pid(pid);
|
||||
err1:
|
||||
close(pipefd[0]);
|
||||
close(pipefd[1]);
|
||||
|
Loading…
Reference in New Issue
Block a user