From 7184e9d280d83f4649efd128cf0d0272cd4d6de2 Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Tue, 23 Feb 2021 19:05:09 +0100 Subject: [PATCH] attach: remove additional newline Signed-off-by: Christian Brauner --- src/lxc/attach.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lxc/attach.c b/src/lxc/attach.c index 200a106c4..20a59e621 100644 --- a/src/lxc/attach.c +++ b/src/lxc/attach.c @@ -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"); -- 2.47.2