mirror of
				https://github.com/speed47/spectre-meltdown-checker.git
				synced 2025-11-04 15:50:57 +01:00 
			
		
		
		
	remove superfluous space from test line 315
Extra space was causing non-existent variable to be tested resulting in 'YES' if running in live mode and IBRS compiled in
This commit is contained in:
		@@ -312,7 +312,7 @@ if [ "$opt_live" = 1 ]; then
 | 
			
		||||
		ibrs_enabled=$(cat /sys/kernel/debug/x86/ibrs_enabled 2>/dev/null)
 | 
			
		||||
	fi
 | 
			
		||||
fi
 | 
			
		||||
if [ "$ibrs_supported " != 1 -a -n "$opt_map" ]; then
 | 
			
		||||
if [ "$ibrs_supported" != 1 -a -n "$opt_map" ]; then
 | 
			
		||||
	if grep -q spec_ctrl "$opt_map"; then
 | 
			
		||||
		pstatus green YES
 | 
			
		||||
		ibrs_supported=1
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user