From 37f447d78ec88267f81c6eb3843a63bf9f36e268 Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Wed, 27 Feb 2019 17:22:34 -0500 Subject: Fix ignored --time argument to podman restart Signed-off-by: Matthew Heon --- cmd/podman/restart.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/podman') diff --git a/cmd/podman/restart.go b/cmd/podman/restart.go index 2bebde4f9..5aa12070e 100644 --- a/cmd/podman/restart.go +++ b/cmd/podman/restart.go @@ -73,7 +73,7 @@ func restartCmd(c *cliconfig.RestartValues) error { defer runtime.Shutdown(false) timeout := c.Timeout - useTimeout := c.Flag("timeout").Changed + useTimeout := c.Flag("timeout").Changed || c.Flag("time").Changed // Handle --latest if c.Latest { -- cgit v1.2.3-54-g00ecf