mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-14 07:13:42 +00:00
coverity: #1435803
Unchecked return value Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
923929f612
commit
4c496daa33
@ -861,11 +861,11 @@ int lxc_init(const char *name, struct lxc_handler *handler)
|
||||
return 0;
|
||||
|
||||
out_restore_sigmask:
|
||||
pthread_sigmask(SIG_SETMASK, &handler->oldmask, NULL);
|
||||
(void)pthread_sigmask(SIG_SETMASK, &handler->oldmask, NULL);
|
||||
out_delete_tty:
|
||||
lxc_delete_tty(&conf->ttys);
|
||||
out_aborting:
|
||||
lxc_set_state(name, handler, ABORTING);
|
||||
(void)lxc_set_state(name, handler, ABORTING);
|
||||
out_close_maincmd_fd:
|
||||
close(conf->maincmd_fd);
|
||||
conf->maincmd_fd = -1;
|
||||
|
Loading…
Reference in New Issue
Block a user