aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@free.fr>2011-02-02 21:55:49 +0100
committerDaniel Lezcano <dlezcano@fr.ibm.com>2011-02-02 21:55:49 +0100
commit7b57e8b681c487030995378793febd5b35396c5f (patch)
treee2b9ba970e407a1b9867b331c8e49a37b3abfca6
parentlxc-start can output the console to a file (diff)
downloadlxc-7b57e8b681c487030995378793febd5b35396c5f.tar.gz
lxc-7b57e8b681c487030995378793febd5b35396c5f.tar.bz2
lxc-7b57e8b681c487030995378793febd5b35396c5f.zip
fix empty network configuration
The return statement is at the wrong place. Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
-rw-r--r--src/lxc/conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lxc/conf.c b/src/lxc/conf.c
index 2201519..0fe8e26 100644
--- a/src/lxc/conf.c
+++ b/src/lxc/conf.c
@@ -1224,8 +1224,8 @@ static int setup_netdev(struct lxc_netdev *netdev)
strerror(-err));
return -1;
}
- return 0;
}
+ return 0;
}
/* retrieve the name of the interface */