mirror of
				https://github.com/speed47/spectre-meltdown-checker.git
				synced 2025-10-30 20:20:59 +01:00 
			
		
		
		
	Set $l1d_mode to -1 in cases where cpu/vulnerabilities/l1tf is not available
(prevents invalid number error when evaluating [ "$l1d_mode" -ge 1 ]) Signed-off-by: Rob Gill <rrobgill@protonmail.com>
This commit is contained in:
		| @@ -3850,6 +3850,7 @@ check_CVE_2018_3646_linux() | ||||
| 					pstatus yellow UNKNOWN "unrecognized mode" | ||||
| 				fi | ||||
| 			else | ||||
| 				l1d_mode=-1 | ||||
| 				pstatus yellow UNKNOWN "can't find or read /sys/devices/system/cpu/vulnerabilities/l1tf" | ||||
| 			fi | ||||
| 		else | ||||
|   | ||||
		Reference in New Issue
	
	Block a user