diff options
author | Matthew Heon <mheon@redhat.com> | 2019-10-04 13:36:07 -0400 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2019-10-09 10:12:15 -0400 |
commit | 8b5f165fc1ec7bef15a0102544321b8d8c730347 (patch) | |
tree | e06d20367e6d827d6959cbfba8abbdb4d108b82f /cmd | |
parent | c3c40f970e6441b70ac62fb050a35f79fedb8896 (diff) | |
download | podman-8b5f165fc1ec7bef15a0102544321b8d8c730347.tar.gz podman-8b5f165fc1ec7bef15a0102544321b8d8c730347.tar.bz2 podman-8b5f165fc1ec7bef15a0102544321b8d8c730347.zip |
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 <mheon@redhat.com>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/podman/start.go | 3 |
1 files changed, 3 insertions, 0 deletions
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") |