dotcloud/docker — pull request #4927 by crosbymichael (2014-03-31 18:21:53+00:00)
Title: Make sure to set error reguardless of attach or stdin

Fixes #3364
Docker-DCO-1.1-Signed-off-by: Michael Crosby (github: crosbymichael)