mirror of
				https://github.com/speed47/spectre-meltdown-checker.git
				synced 2025-10-31 20:50:55 +01:00 
			
		
		
		
	fix: regression introduced by previous commit
449: ./spectre-meltdown-checker.sh: 3: parameter not set This happened only on blacklisted microcodes, fixed by adding set +u before the return
This commit is contained in:
		| @@ -700,6 +700,7 @@ is_ucode_blacklisted() | ||||
| 		if [ "$cpu_model" = "$model" ] && [ "$cpu_stepping" = "$stepping" ] && echo "$cpu_ucode" | grep -qi "^$ucode$"; then | ||||
| 			_debug "is_ucode_blacklisted: we have a match! ($cpu_model/$cpu_stepping/$cpu_ucode)" | ||||
| 			bad_ucode_found="Intel CPU Family 6 Model $cpu_model Stepping $cpu_stepping with microcode $cpu_ucode" | ||||
| 			set +u | ||||
| 			return 0 | ||||
| 		fi | ||||
| 	done | ||||
|   | ||||
		Reference in New Issue
	
	Block a user