mirror of
				https://github.com/speed47/spectre-meltdown-checker.git
				synced 2025-11-04 07:40:56 +01:00 
			
		
		
		
	fix: --batch now implies --no-color to avoid colored warnings
This commit is contained in:
		@@ -637,6 +637,7 @@ while [ -n "$1" ]; do
 | 
				
			|||||||
	elif [ "$1" = "--batch" ]; then
 | 
						elif [ "$1" = "--batch" ]; then
 | 
				
			||||||
		opt_batch=1
 | 
							opt_batch=1
 | 
				
			||||||
		opt_verbose=0
 | 
							opt_verbose=0
 | 
				
			||||||
 | 
							opt_no_color=1
 | 
				
			||||||
		shift
 | 
							shift
 | 
				
			||||||
		case "$1" in
 | 
							case "$1" in
 | 
				
			||||||
			text|nrpe|json|prometheus) opt_batch_format="$1"; shift;;
 | 
								text|nrpe|json|prometheus) opt_batch_format="$1"; shift;;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user