2
0
mirror of git://github.com/lxc/lxc synced 2025-08-31 16:14:12 +00:00

initialize capabilities for lxc-start and lxc-execute

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
This commit is contained in:
Daniel Lezcano
2010-07-20 13:45:44 +02:00
parent 7d40e69bd7
commit 0ed9cc8b00
2 changed files with 8 additions and 1 deletions

View File

@@ -31,7 +31,7 @@
#include <sys/stat.h>
#include <sys/param.h>
#include "caps.h"
#include "lxc.h"
#include "log.h"
#include "conf.h"
@@ -93,6 +93,9 @@ int main(int argc, char *argv[])
lxc_list_init(&defines);
if (lxc_caps_init())
return -1;
if (lxc_arguments_parse(&my_args, argc, argv))
return -1;

View File

@@ -41,6 +41,7 @@
#include <net/if.h>
#include "log.h"
#include "caps.h"
#include "lxc.h"
#include "conf.h"
#include "cgroup.h"
@@ -101,6 +102,9 @@ int main(int argc, char *argv[])
lxc_list_init(&defines);
if (lxc_caps_init())
return err;
if (lxc_arguments_parse(&my_args, argc, argv))
return err;