summaryrefslogtreecommitdiff
path: root/cmd/podman/port.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/port.go')
-rw-r--r--cmd/podman/port.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/port.go b/cmd/podman/port.go
index 340bf1e9c..9082ec25d 100644
--- a/cmd/podman/port.go
+++ b/cmd/podman/port.go
@@ -133,7 +133,7 @@ func portCmd(c *cli.Context) error {
// We have a match on ports
if v.ContainerPort == int32(userPort) {
if userProto == "" || userProto == v.Protocol {
- fmt.Printf("%s:%d", hostIP, v.HostPort)
+ fmt.Printf("%s:%d\n", hostIP, v.HostPort)
break
}
} else {