From: Christian Brauner Date: Tue, 23 Feb 2021 18:05:09 +0000 (+0100) Subject: attach: remove additional newline X-Git-Tag: lxc-5.0.0~273^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7184e9d280d83f4649efd128cf0d0272cd4d6de2;p=thirdparty%2Flxc.git attach: remove additional newline Signed-off-by: Christian Brauner --- 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");