mirror of
https://github.com/containers/podman.git
synced 2025-06-20 17:13:43 +08:00
Merge pull request #6931 from mheon/apply_sigproxy
Ensure sig-proxy default is propagated in start
This commit is contained in:
@ -82,6 +82,7 @@ func start(cmd *cobra.Command, args []string) error {
|
|||||||
if cmd.Flag("sig-proxy").Changed {
|
if cmd.Flag("sig-proxy").Changed {
|
||||||
sigProxy = startOptions.SigProxy
|
sigProxy = startOptions.SigProxy
|
||||||
}
|
}
|
||||||
|
startOptions.SigProxy = sigProxy
|
||||||
|
|
||||||
if sigProxy && !startOptions.Attach {
|
if sigProxy && !startOptions.Attach {
|
||||||
return errors.Wrapf(define.ErrInvalidArg, "you cannot use sig-proxy without --attach")
|
return errors.Wrapf(define.ErrInvalidArg, "you cannot use sig-proxy without --attach")
|
||||||
|
Reference in New Issue
Block a user