summaryrefslogtreecommitdiff
path: root/cmd/podman/load.go
diff options
context:
space:
mode:
authorumohnani8 <umohnani@redhat.com>2018-02-19 15:39:56 -0500
committerAtomic Bot <atomic-devel@projectatomic.io>2018-02-20 15:16:28 +0000
commit8f8fd1d900303f2f2fe562357c96d0855ff77a5c (patch)
tree72fed4d372361b4ed2155178e1ba530d0f0a4ea4 /cmd/podman/load.go
parent8eb5cf74892611f26c0c42c45312cb84e04882a2 (diff)
downloadpodman-8f8fd1d900303f2f2fe562357c96d0855ff77a5c.tar.gz
podman-8f8fd1d900303f2f2fe562357c96d0855ff77a5c.tar.bz2
podman-8f8fd1d900303f2f2fe562357c96d0855ff77a5c.zip
Fix podman save when redirecting output
podman save would write the progress bar to the image tar file when the output was redirected with >. Fixed the writer to write to stderr for all commands using writer Signed-off-by: umohnani8 <umohnani@redhat.com> Closes: #362 Approved by: mheon
Diffstat (limited to 'cmd/podman/load.go')
-rw-r--r--cmd/podman/load.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/load.go b/cmd/podman/load.go
index ee8a79756..d3a15a2ae 100644
--- a/cmd/podman/load.go
+++ b/cmd/podman/load.go
@@ -93,7 +93,7 @@ func loadCmd(c *cli.Context) error {
var writer io.Writer
if !c.Bool("quiet") {
- writer = os.Stdout
+ writer = os.Stderr
}
options := libpod.CopyOptions{