Set return status of is_clear() to booleans
This commit is contained in:
		@@ -167,9 +167,9 @@ is_clear () {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    if [[ ${avg10} -lt ${clear_threshold} ]]; then
 | 
					    if [[ ${avg10} -lt ${clear_threshold} ]]; then
 | 
				
			||||||
        return 0
 | 
					        true
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
        return 1
 | 
					        false
 | 
				
			||||||
    fi
 | 
					    fi
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user