Update communicator.go

This commit is contained in:
georgevicbell 2015-07-16 21:51:13 -04:00
parent d00271aab3
commit b2811a8252
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ func (c *Communicator) Start(remote *packer.RemoteCmd) error {
var cmd *exec.Cmd
if c.canExec() {
if c.config.Pty {
if c.Config.Pty {
cmd = exec.Command("docker", "exec", "-i", "-t", c.ContainerId, "/bin/sh")
} else {
cmd = exec.Command("docker", "exec", "-i", c.ContainerId, "/bin/sh")