summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Sottile <asottile@umich.edu>2020-07-27 15:47:46 -0700
committerMatthew Heon <matthew.heon@pm.me>2020-07-31 11:39:17 -0400
commite0774e65b4515418dce25d0487c3e6f23e1b8f12 (patch)
tree3ee2736715398e8bb1b14c8f6e123e427721d2f2
parent5d790bb2be77fae2de429d1004bec5fed0c55ba8 (diff)
downloadpodman-e0774e65b4515418dce25d0487c3e6f23e1b8f12.tar.gz
podman-e0774e65b4515418dce25d0487c3e6f23e1b8f12.tar.bz2
podman-e0774e65b4515418dce25d0487c3e6f23e1b8f12.zip
add newline to output in error message
Signed-off-by: Anthony Sottile <asottile@umich.edu>
-rw-r--r--cmd/podman/registry/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/registry/config.go b/cmd/podman/registry/config.go
index a7e368115..24e728bad 100644
--- a/cmd/podman/registry/config.go
+++ b/cmd/podman/registry/config.go
@@ -33,7 +33,7 @@ func PodmanConfig() *entities.PodmanConfig {
func newPodmanConfig() {
if err := setXdgDirs(); err != nil {
- fmt.Fprintf(os.Stderr, err.Error())
+ fmt.Fprintln(os.Stderr, err.Error())
os.Exit(1)
}