dotcloud/docker — pull request #890 by fsouza (2013-06-14 14:12:43+00:00)
Title: commands: fix deadlock in hijack

After 2eaa0a1dd7354e429c056d68515f903351e3eeb4, ``hijack`` stopped sending values in the ``sendStdin`` channel. Whenever ``in`` was not a terminal, hijack would hang forever waiting for a value that would never come.

I've just deleted the channel and the whole ``if !term.IsTerminal()`` block.