mirror of
https://github.com/containers/podman
synced 2024-10-20 17:23:30 +00:00
Merge pull request #6931 from mheon/apply_sigproxy
Ensure sig-proxy default is propagated in start
This commit is contained in:
commit
a9a751feef
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue