]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
start: non-functional changes
authorChristian Brauner <christian.brauner@ubuntu.com>
Thu, 31 Aug 2017 21:01:46 +0000 (23:01 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Mon, 4 Sep 2017 11:19:18 +0000 (13:19 +0200)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/start.c

index 0ced4e9186ce99db788f5e79454da821d61bfa50..6232a78590848c998bd96744b829adcdd0fc0c83 100644 (file)
@@ -1273,14 +1273,13 @@ void resolve_clone_flags(struct lxc_handler *handler)
  */
 static int lxc_spawn(struct lxc_handler *handler)
 {
-       int failed_before_rename = 0;
+       int i, flags, nveths;
        const char *name = handler->name;
-       bool cgroups_connected = false;
-       int saved_ns_fd[LXC_NS_MAX];
-       int preserve_mask = 0, i, flags;
-       int netpipepair[2], nveths;
        bool wants_to_map_ids;
+       int netpipepair[2], saved_ns_fd[LXC_NS_MAX];
        struct lxc_list *id_map;
+       int failed_before_rename = 0, preserve_mask = 0;
+       bool cgroups_connected = false;
 
        netpipe = -1;
        id_map = &handler->conf->id_map;