summaryrefslogtreecommitdiff
path: root/libpod/container.go
diff options
context:
space:
mode:
Diffstat (limited to 'libpod/container.go')
-rw-r--r--libpod/container.go11
1 files changed, 7 insertions, 4 deletions
diff --git a/libpod/container.go b/libpod/container.go
index d93efda97..8e84a1f3e 100644
--- a/libpod/container.go
+++ b/libpod/container.go
@@ -411,14 +411,17 @@ func (c *Container) Attach(noStdin bool, keys string, attached chan<- bool) erro
resize := make(chan remotecommand.TerminalSize)
defer close(resize)
err = c.attachContainerSocket(resize, noStdin, detachKeys, attached)
- if err != nil {
- return err
- }
+
+ return err
+
// TODO
// Re-enable this when mheon is done wth it
+ //if err != nil {
+ // return err
+ //}
//c.ContainerStateToDisk(c)
- return nil
+ //return err
}
// Mount mounts a container's filesystem on the host