diff options
author | Matthew Heon <matthew.heon@gmail.com> | 2018-04-11 14:44:11 -0400 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-04-13 18:43:44 +0000 |
commit | 6609d555f75568bb4f1394736a3e3b31e5f0d355 (patch) | |
tree | 92cfca059a58882d205acd2c575b587850ae1798 /cmd/podman/attach.go | |
parent | 5e03cec7ec83f8ff8b31a89a6180dda203b04d9c (diff) | |
download | podman-6609d555f75568bb4f1394736a3e3b31e5f0d355.tar.gz podman-6609d555f75568bb4f1394736a3e3b31e5f0d355.tar.bz2 podman-6609d555f75568bb4f1394736a3e3b31e5f0d355.zip |
Fix terminal attach
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
Closes: #608
Approved by: baude
Diffstat (limited to 'cmd/podman/attach.go')
-rw-r--r-- | cmd/podman/attach.go | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/cmd/podman/attach.go b/cmd/podman/attach.go index 4b16d013c..041cc0388 100644 --- a/cmd/podman/attach.go +++ b/cmd/podman/attach.go @@ -69,16 +69,12 @@ func attachCmd(c *cli.Context) error { return errors.Errorf("you can only attach to running containers") } - if c.BoolT("sig-proxy") { - ProxySignals(ctr) - } - inputStream := os.Stdin if c.Bool("no-stdin") { inputStream = nil } - if err := attachCtr(ctr, os.Stdout, os.Stderr, inputStream, c.String("detach-keys")); err != nil { + if err := attachCtr(ctr, os.Stdout, os.Stderr, inputStream, c.String("detach-keys"), c.BoolT("sig-proxy")); err != nil { return errors.Wrapf(err, "error attaching to container %s", ctr.ID()) } |