]> git.proxmox.com Git - mirror_lxc.git/commitdiff
start: improve comments
authorChristian Brauner <christian.brauner@ubuntu.com>
Sun, 14 Feb 2021 19:44:18 +0000 (20:44 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Sun, 14 Feb 2021 19:44:18 +0000 (20:44 +0100)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/start.c

index ea9e201f907da0acb56b07ae86048a9bde1ec66c..2a904a4db4a3a2a33424fbe10e31307800c7c087 100644 (file)
@@ -167,11 +167,10 @@ static bool lxc_try_preserve_namespaces(struct lxc_handler *handler,
                                continue;
                        }
 
-                       /* Do not fail to start container on kernels that do
-                        * not support interacting with namespaces through
-                        * /proc.
+                       /*
+                        * Handle kernels that do not support interacting with
+                        * namespaces through procfs.
                         */
-
                        lxc_put_nsfds(handler);
                        return log_error_errno(false, errno, "Failed to preserve %s namespace", ns);
                }