forked from ungleich-public/cdist
		
	redirect stderr to /dev/null
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								2c30704ba7
							
						
					
				
			
			
				commit
				
					
						36a330eb3c
					
				
			
		
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -26,9 +26,9 @@ if [ ! -f "$__object/parameter/nofstab" ]; then
 | 
			
		|||
   (
 | 
			
		||||
printf "%s" "$(cat "$__object/parameter/device")"
 | 
			
		||||
printf " %s" "$path"
 | 
			
		||||
type="$(cat "$__object/parameter/type" || echo "auto")"
 | 
			
		||||
type="$(cat "$__object/parameter/type" 2>/dev/null || echo "auto")"
 | 
			
		||||
printf " %s" "$type"
 | 
			
		||||
options="$(cat "$__object/parameter/options" || echo "defaults")"
 | 
			
		||||
options="$(cat "$__object/parameter/options" 2>/dev/null || echo "defaults")"
 | 
			
		||||
printf " %s" "$options"
 | 
			
		||||
printf " %s" "$(cat "$__object/parameter/dump")"
 | 
			
		||||
printf " %s\n" "$(cat "$__object/parameter/pass")"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue