diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-02-22 00:03:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-22 00:03:40 +0100 |
commit | 1788addd047310ee8b8c7a62d8949953b93cfca7 (patch) | |
tree | 162228b4ec22c51cab31659e0e355a28fca21163 /cmd/podman | |
parent | eb6243226a08254f15657c3728bb4dd8949ee6cd (diff) | |
parent | 3447edd2eccd73dd9123385eb31e4630f6b8b949 (diff) | |
download | podman-1788addd047310ee8b8c7a62d8949953b93cfca7.tar.gz podman-1788addd047310ee8b8c7a62d8949953b93cfca7.tar.bz2 podman-1788addd047310ee8b8c7a62d8949953b93cfca7.zip |
Merge pull request #2389 from baude/issue2388
add newline to images output
Diffstat (limited to 'cmd/podman')
-rw-r--r-- | cmd/podman/formats/formats.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cmd/podman/formats/formats.go b/cmd/podman/formats/formats.go index c454c39bd..37f9b8a20 100644 --- a/cmd/podman/formats/formats.go +++ b/cmd/podman/formats/formats.go @@ -120,11 +120,8 @@ func (t StdoutTemplateArray) Out() error { fmt.Fprintln(w, "") continue } - // Only print new line at the end of the output if stdout is the terminal - if terminal.IsTerminal(int(os.Stdout.Fd())) { - fmt.Fprintln(w, "") - } } + fmt.Fprintln(w, "") return w.Flush() } |