]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
attach: remove additional newline
authorChristian Brauner <christian.brauner@ubuntu.com>
Tue, 23 Feb 2021 18:05:09 +0000 (19:05 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Tue, 23 Feb 2021 18:05:09 +0000 (19:05 +0100)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/attach.c

index 200a106c4a74664a9c2f2769970b2846df9591ce..20a59e6215b94115d464546f98bcb60f00e1ccf0 100644 (file)
@@ -400,7 +400,6 @@ static int get_attach_context(struct attach_context *ctx,
                ctx->init_pid = pidfd_get_pid(ctx->dfd_self_pid, ctx->init_pidfd);
        else
                ctx->init_pid = lxc_cmd_get_init_pid(container->name, container->config_path);
-
        if (ctx->init_pid < 0)
                return log_error(-1, "Failed to get init pid");