Skip to content

Commit

Permalink
attach: init struct
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 Jan 20, 2018
1 parent 95220ee commit c948657
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lxc/attach.c
Expand Up @@ -1269,6 +1269,8 @@ int lxc_attach(const char *name, const char *lxcpath,
}

pty.log_fd = options->log_fd;
} else {
lxc_pty_init(&pty);
}

/* Create a socket pair for IPC communication; set SOCK_CLOEXEC in order
Expand Down

0 comments on commit c948657

Please sign in to comment.