summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorAnthony Sottile <asottile@umich.edu>2020-07-27 15:47:46 -0700
committerAnthony Sottile <asottile@umich.edu>2020-07-27 16:12:58 -0700
commit7b248d9e3a5f090a5acb4bfa39284b5ded77be3e (patch)
tree5ec7a3df4785a6c9178bea62fbaddbf6663666e1 /cmd
parent2b7bc9b101887a789a9fc0282d448efad824404f (diff)
downloadpodman-7b248d9e3a5f090a5acb4bfa39284b5ded77be3e.tar.gz
podman-7b248d9e3a5f090a5acb4bfa39284b5ded77be3e.tar.bz2
podman-7b248d9e3a5f090a5acb4bfa39284b5ded77be3e.zip
add newline to output in error message
Signed-off-by: Anthony Sottile <asottile@umich.edu>
Diffstat (limited to 'cmd')
-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 f5a231172..e9b7062de 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)
}