Skip to content

Commit

Permalink
attach: remove additional newline
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed Feb 26, 2021
1 parent e5acb39 commit abe0076
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/lxc/attach.c
Expand Up @@ -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");

Expand Down

0 comments on commit abe0076

Please sign in to comment.