add debug via __cdist_debug variable
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								6886c2e6f1
							
						
					
				
			
			
				commit
				
					
						f65b61ee8f
					
				
			
		
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
					@ -27,6 +27,9 @@ set -u
 | 
				
			||||||
# Fail if exited non-zero as well
 | 
					# Fail if exited non-zero as well
 | 
				
			||||||
set -e
 | 
					set -e
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# enable debugging
 | 
				
			||||||
 | 
					[ "$__cdist_debug" ] && set -x
 | 
				
			||||||
 | 
					
 | 
				
			||||||
################################################################################
 | 
					################################################################################
 | 
				
			||||||
# cconf standard vars prefixed with cdist
 | 
					# cconf standard vars prefixed with cdist
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue