summaryrefslogtreecommitdiff
path: root/cmd/podman/varlink.go
diff options
context:
space:
mode:
authorTomas Tomecek <ttomecek@redhat.com>2018-08-28 14:12:32 +0200
committerAtomic Bot <atomic-devel@projectatomic.io>2018-08-30 10:46:54 +0000
commit65c31d49f967c9b1da0984897be08f6238bc7705 (patch)
treeffcbb2fcc115c36d1131daf6b4a0c980ecf12fca /cmd/podman/varlink.go
parentecf84390ef8fbcdf31d6429f47cd15f12d83faf4 (diff)
downloadpodman-65c31d49f967c9b1da0984897be08f6238bc7705.tar.gz
podman-65c31d49f967c9b1da0984897be08f6238bc7705.tar.bz2
podman-65c31d49f967c9b1da0984897be08f6238bc7705.zip
podman,varlink: inform user about --timeout 0
Signed-off-by: Tomas Tomecek <ttomecek@redhat.com> Closes: #1363 Approved by: rhatdan
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 4e6d76c7e..2b3891aec 100644
--- a/cmd/podman/varlink.go
+++ b/cmd/podman/varlink.go
@@ -75,7 +75,7 @@ func varlinkCmd(c *cli.Context) error {
if err = service.Listen(args[0], timeout); err != nil {
switch err.(type) {
case varlink.ServiceTimeoutError:
- logrus.Infof("varlink service expired (use --timeout to increase session time beyond %d ms)", c.Int64("timeout"))
+ 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")