conf, pasta: Create a new namespace also if probing netns options failed
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
parent
4b12cf94f0
commit
bf63832207
1 changed files with 1 additions and 1 deletions
2
conf.c
2
conf.c
|
@ -1155,7 +1155,7 @@ void conf(struct ctx *c, int argc, char **argv)
|
||||||
usage(argv[0]);
|
usage(argv[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (c->mode == MODE_PASTA && !c->pasta_netns_fd)
|
if (c->mode == MODE_PASTA && c->pasta_netns_fd <= 0)
|
||||||
pasta_start_ns(c);
|
pasta_start_ns(c);
|
||||||
|
|
||||||
if (nl_sock_init(c)) {
|
if (nl_sock_init(c)) {
|
||||||
|
|
Loading…
Reference in a new issue