summaryrefslogtreecommitdiff
path: root/bubblewrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'bubblewrap.c')
-rw-r--r--bubblewrap.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bubblewrap.c b/bubblewrap.c
index 6d527a9..4bd30e0 100644
--- a/bubblewrap.c
+++ b/bubblewrap.c
@@ -2146,6 +2146,9 @@ main (int argc,
/* We block sigchild here so that we can use signalfd in the monitor. */
block_sigchild ();
+ /* WSL: Network namespaces are not supported */
+ opt_unshare_net = FALSE;
+
clone_flags = SIGCHLD | CLONE_NEWNS;
if (opt_unshare_user)
clone_flags |= CLONE_NEWUSER;