summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-07-14 19:44:56 +0200
committerGitHub <noreply@github.com>2020-07-14 19:44:56 +0200
commita9a751feefb03834bfe6122583e8db598c4159e1 (patch)
tree0fda3e2affb11a630b3ef5b8578baeb2cb5d6f1b
parentd83077b16c14b05967fa1f92c7067299367a286f (diff)
parentdd30e0a73a036e62c174affcb1b51b12b4d9a718 (diff)
downloadpodman-a9a751feefb03834bfe6122583e8db598c4159e1.tar.gz
podman-a9a751feefb03834bfe6122583e8db598c4159e1.tar.bz2
podman-a9a751feefb03834bfe6122583e8db598c4159e1.zip
Merge pull request #6931 from mheon/apply_sigproxy
Ensure sig-proxy default is propagated in start
-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")