mirror of
				https://github.com/blakeblackshear/frigate.git
				synced 2025-10-27 10:52:11 +01:00 
			
		
		
		
	Fix cpu count when process name includes the word processor (#11911)
This commit is contained in:
		
							parent
							
								
									6978140492
								
							
						
					
					
						commit
						e3c8901549
					
				@ -44,7 +44,7 @@ function get_cpus() {
 | 
			
		||||
            cpus=1
 | 
			
		||||
        fi
 | 
			
		||||
    else
 | 
			
		||||
        cpus=$(grep -c processor /proc/cpuinfo)
 | 
			
		||||
        cpus=$(grep -c ^processor /proc/cpuinfo)
 | 
			
		||||
    fi
 | 
			
		||||
 | 
			
		||||
    printf '%s' "$cpus"
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user