Merge pull request #4200 from mheon/fix_sigproxy_start
Respect --sig-proxy flag with podman start --attach
This commit is contained in:
		
						commit
						f61e399a66
					
				| 
						 | 
				
			
			@ -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")
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue