summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2019-02-20 16:44:23 -0600
committerbaude <bbaude@redhat.com>2019-02-20 16:44:23 -0600
commitad3ccd69f93da31f1002c2c9f6dccec3df9ab5b7 (patch)
tree091acc693cacecab13fde91ffa527b79ba544bb1
parent4de0bf9c74624de8a2cab1e5cbebc0beaa67339a (diff)
downloadpodman-ad3ccd69f93da31f1002c2c9f6dccec3df9ab5b7.tar.gz
podman-ad3ccd69f93da31f1002c2c9f6dccec3df9ab5b7.tar.bz2
podman-ad3ccd69f93da31f1002c2c9f6dccec3df9ab5b7.zip
add newline to images output
ensure a final newline is always added to images output. fixes #2388 Signed-off-by: baude <bbaude@redhat.com>
-rw-r--r--cmd/podman/formats/formats.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/podman/formats/formats.go b/cmd/podman/formats/formats.go
index c454c39bd..d063d1e2b 100644
--- a/cmd/podman/formats/formats.go
+++ b/cmd/podman/formats/formats.go
@@ -125,6 +125,7 @@ func (t StdoutTemplateArray) Out() error {
fmt.Fprintln(w, "")
}
}
+ fmt.Fprintln(w, "")
return w.Flush()
}