mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-03 11:33:49 +00:00
lxc: fix double-close in lxc_[re]spawn() abort path
sv[0] has already been closed when reaching out_abort label. Signed-off-by: Greg Kurz <gkurz@fr.ibm.com> Signed-off-by: Cedric Le Goater <clg@fr.ibm.com> Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
This commit is contained in:
parent
8b7329af3f
commit
b79fcd8638
@ -457,7 +457,8 @@ out_close:
|
||||
|
||||
out_abort:
|
||||
lxc_abort(name, handler);
|
||||
goto out_close;
|
||||
close(sv[1]);
|
||||
return -1;
|
||||
}
|
||||
|
||||
int lxc_start(const char *name, char *const argv[], struct lxc_conf *conf)
|
||||
|
Loading…
Reference in New Issue
Block a user