From 8b5f165fc1ec7bef15a0102544321b8d8c730347 Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Fri, 4 Oct 2019 13:36:07 -0400 Subject: Respect --sig-proxy flag with podman start --attach If it's explicitly set, use it, instead of trying to set a sane default. Signed-off-by: Matthew Heon --- cmd/podman/start.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/podman/start.go b/cmd/podman/start.go index 737a6d9f1..2d2cf74d2 100644 --- a/cmd/podman/start.go +++ b/cmd/podman/start.go @@ -60,6 +60,9 @@ func startCmd(c *cliconfig.StartValues) error { } sigProxy := c.SigProxy || attach + if c.Flag("sig-proxy").Changed { + sigProxy = c.SigProxy + } if sigProxy && !attach { return errors.Wrapf(define.ErrInvalidArg, "you cannot use sig-proxy without --attach") -- cgit v1.2.3-54-g00ecf