From dd30e0a73a036e62c174affcb1b51b12b4d9a718 Mon Sep 17 00:00:00 2001
From: Matthew Heon <matthew.heon@pm.me>
Date: Fri, 10 Jul 2020 11:37:30 -0400
Subject: [PATCH] Ensure sig-proxy default is propagated in start

We properly determined what sig-proxy should be set to, but we
never passed that along to the backend. As such, cases where the
default swapped (mostly when `--attach` was specified but the
`--sig-proxy` flag was not) were not handled correctly

Fixes #6928

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
---
 cmd/podman/containers/start.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cmd/podman/containers/start.go b/cmd/podman/containers/start.go
index 941588137a..21f22b9862 100644
--- a/cmd/podman/containers/start.go
+++ b/cmd/podman/containers/start.go
@@ -82,6 +82,7 @@ func start(cmd *cobra.Command, args []string) error {
 	if cmd.Flag("sig-proxy").Changed {
 		sigProxy = startOptions.SigProxy
 	}
+	startOptions.SigProxy = sigProxy
 
 	if sigProxy && !startOptions.Attach {
 		return errors.Wrapf(define.ErrInvalidArg, "you cannot use sig-proxy without --attach")