podman,varlink: inform user about --timeout 0

Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>

Closes: #1363
Approved by: rhatdan
This commit is contained in:
Tomas Tomecek 2018-08-28 14:12:32 +02:00 committed by Atomic Bot
parent ecf84390ef
commit 65c31d49f9
1 changed files with 1 additions and 1 deletions

View File

@ -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")