summaryrefslogtreecommitdiff
path: root/cmd/podman
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman')
-rw-r--r--cmd/podman/service.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/cmd/podman/service.go b/cmd/podman/service.go
index 3e0ff927f..7606e3009 100644
--- a/cmd/podman/service.go
+++ b/cmd/podman/service.go
@@ -143,7 +143,6 @@ func runREST(r *libpod.Runtime, uri string, timeout time.Duration) error {
if err != nil {
return errors.Wrapf(err, "unable to create socket %s", uri)
}
- defer l.Close()
listener = &l
}
server, err := api.NewServerWithSettings(r, timeout, listener)