aboutgitcodebugslistschat
path: root/conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf.c b/conf.c
index 483daeb..b92a7d9 100644
--- a/conf.c
+++ b/conf.c
@@ -1155,7 +1155,7 @@ void conf(struct ctx *c, int argc, char **argv)
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);
if (nl_sock_init(c)) {