forked from ungleich-public/cdist
		
	allow debug to be unset when using
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								8f0d43375b
							
						
					
				
			
			
				commit
				
					
						d8cd9e0118
					
				
			
		
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -163,9 +163,11 @@ __cdist_echo()
 | 
			
		|||
 | 
			
		||||
   case "$__cdist_echo_type" in
 | 
			
		||||
      debug)
 | 
			
		||||
         set +u
 | 
			
		||||
         if [ "$__cdist_debug" ]; then
 | 
			
		||||
            echo $__cdist_echo_prefix "Debug: $@"
 | 
			
		||||
         fi
 | 
			
		||||
         set -u
 | 
			
		||||
      ;;
 | 
			
		||||
      info)
 | 
			
		||||
         echo $__cdist_echo_prefix "$@"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue