summaryrefslogtreecommitdiff
path: root/cmd/podman/run.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/run.go')
-rw-r--r--cmd/podman/run.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/run.go b/cmd/podman/run.go
index d6755df5e..3e7dc2303 100644
--- a/cmd/podman/run.go
+++ b/cmd/podman/run.go
@@ -173,7 +173,7 @@ func runCmd(c *cli.Context) error {
}
// If attach is set, clear stdin/stdout/stderr and only attach requested
- if c.IsSet("attach") {
+ if c.IsSet("attach") || c.IsSet("a") {
outputStream = nil
errorStream = nil
inputStream = nil