aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@pm.me>2020-07-10 11:37:30 -0400
committerMatthew Heon <matthew.heon@pm.me>2020-07-10 11:37:30 -0400
commitdd30e0a73a036e62c174affcb1b51b12b4d9a718 (patch)
treefb1ca0dc5923f90443138f158f94691a84934c83 /cmd
parent2ac8c6953481eb7391a6a7594709811f7ae3167f (diff)
downloadpodman-dd30e0a73a036e62c174affcb1b51b12b4d9a718.tar.gz
podman-dd30e0a73a036e62c174affcb1b51b12b4d9a718.tar.bz2
podman-dd30e0a73a036e62c174affcb1b51b12b4d9a718.zip
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>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/podman/containers/start.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/podman/containers/start.go b/cmd/podman/containers/start.go
index 941588137..21f22b986 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")