summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-03-14 05:36:43 +0100
committerLennart Poettering <lennart@poettering.net>2011-03-14 15:37:09 +0100
commit64af1b6207e4062e43f049a4f322ffa4de9dd87f (patch)
tree1eee9d72efddb275b9de96fd4c55cbabf80fd31c
parent90df7e567f668b4d0e7761fd15fa8cebffc759a0 (diff)
nspawn: we don't want a network namespace
-rw-r--r--src/nspawn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nspawn.c b/src/nspawn.c
index f340805f38..7cefd3debd 100644
--- a/src/nspawn.c
+++ b/src/nspawn.c
@@ -383,7 +383,7 @@ int main(int argc, char *argv[]) {
log_info("Spawning namespace container on %s.", arg_directory);
- if ((pid = syscall(__NR_clone, SIGCHLD|CLONE_NEWIPC|CLONE_NEWNS|CLONE_NEWPID|CLONE_NEWUTS|CLONE_NEWNET, NULL)) < 0) {
+ if ((pid = syscall(__NR_clone, SIGCHLD|CLONE_NEWIPC|CLONE_NEWNS|CLONE_NEWPID|CLONE_NEWUTS, NULL)) < 0) {
log_error("clone() failed: %m");
goto finish;
}