~clint-fewbar/ubuntu/oneiric/lxc/use-uec-for-natty

« back to all changes in this revision

Viewing changes to src/lxc/lxc_attach.c

  • Committer: Bazaar Package Importer
  • Author(s): Guido Trotter
  • Date: 2010-08-04 13:23:42 UTC
  • mfrom: (1.1.5 upstream) (3.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20100804132342-ds4lm3oaroeoxfxx
Tags: 0.7.2-1
* New upstream version
* Convert libcap dependency to versioned (closes: #571527)
* Bump up standards version to 3.9.0
* Fix too-deep /usr/lib/lxc/lxc path (closes: #587847)
* Add init script (closes: #573830)
  Thanks to Przemysław Knycz <pknycz@kolnet.eu> for the base example
* Bump up standards version (3.9.1)

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
#include "commands.h"
34
34
#include "arguments.h"
35
35
#include "namespace.h"
 
36
#include "caps.h"
36
37
#include "log.h"
37
38
 
38
39
lxc_log_define(lxc_attach_ui, lxc);
63
64
        uid_t uid;
64
65
        char *curdir;
65
66
 
 
67
        ret = lxc_caps_init();
 
68
        if (ret)
 
69
                return ret;
 
70
 
66
71
        ret = lxc_arguments_parse(&my_args, argc, argv);
67
72
        if (ret)
68
73
                return ret;