summaryrefslogtreecommitdiff
path: root/cmd/podman/varlink.go
diff options
context:
space:
mode:
authorLars Karlitski <lars@karlitski.net>2019-02-04 18:18:02 +0100
committerLars Karlitski <lars@karlitski.net>2019-02-12 14:47:49 +0100
commit10982bcf849021a56aa113cf8442e888a10f5dde (patch)
tree3de8f4bd8afb29d6c09fd4264e73f0cb6c34e2f6 /cmd/podman/varlink.go
parenta097772cf7c6bc5a51d15aa2c821839ce8f96231 (diff)
downloadpodman-10982bcf849021a56aa113cf8442e888a10f5dde.tar.gz
podman-10982bcf849021a56aa113cf8442e888a10f5dde.tar.bz2
podman-10982bcf849021a56aa113cf8442e888a10f5dde.zip
podman: Show error when creating varlink listener failed
Signed-off-by: Lars Karlitski <lars@karlitski.net>
Diffstat (limited to 'cmd/podman/varlink.go')
-rw-r--r--cmd/podman/varlink.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/varlink.go b/cmd/podman/varlink.go
index 73ffcdb3f..613678f40 100644
--- a/cmd/podman/varlink.go
+++ b/cmd/podman/varlink.go
@@ -82,7 +82,7 @@ func varlinkCmd(c *cliconfig.VarlinkValues) error {
logrus.Infof("varlink service expired (use --timeout to increase session time beyond %d ms, 0 means never timeout)", c.Int64("timeout"))
return nil
default:
- return errors.Errorf("unable to start varlink service")
+ return errors.Wrapf(err, "unable to start varlink service")
}
}