summaryrefslogtreecommitdiff
path: root/cmd/podman/registry/config.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-07-28 09:23:19 -0400
committerGitHub <noreply@github.com>2020-07-28 09:23:19 -0400
commit6ed9868a34a875359852a910c23248946de59d20 (patch)
tree6bccab8dce88aa5202de1e33161eef1d1765f732 /cmd/podman/registry/config.go
parentec69497b18f70400b21e1ec198299f9fe4f1df7a (diff)
parent7b248d9e3a5f090a5acb4bfa39284b5ded77be3e (diff)
downloadpodman-6ed9868a34a875359852a910c23248946de59d20.tar.gz
podman-6ed9868a34a875359852a910c23248946de59d20.tar.bz2
podman-6ed9868a34a875359852a910c23248946de59d20.zip
Merge pull request #7098 from asottile/newline_on_error
add newline to output in error message
Diffstat (limited to 'cmd/podman/registry/config.go')
-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 a62a41c12..667c87f28 100644
--- a/cmd/podman/registry/config.go
+++ b/cmd/podman/registry/config.go
@@ -34,7 +34,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)
}