diff options
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/podman/build.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cmd/podman/build.go b/cmd/podman/build.go index 1f05da918..01f531814 100644 --- a/cmd/podman/build.go +++ b/cmd/podman/build.go @@ -1,6 +1,7 @@ package main import ( + "io/ioutil" "os" "path/filepath" "strings" @@ -211,8 +212,8 @@ func buildCmd(c *cli.Context) error { ForceRmIntermediateCtrs: c.Bool("force-rm"), } - if !c.Bool("quiet") { - options.ReportWriter = os.Stderr + if c.Bool("quiet") { + options.ReportWriter = ioutil.Discard } return runtime.Build(getContext(), options, dockerfiles...) |