Fix SC2012.
This commit is contained in:
		
					parent
					
						
							
								c58e12a4b9
							
						
					
				
			
			
				commit
				
					
						0f31a550cc
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -25,7 +25,7 @@ case $1 in
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        # Apply our ruleset
 | 
					        # Apply our ruleset
 | 
				
			||||||
        cd "$basedir" || exit
 | 
					        cd "$basedir" || exit
 | 
				
			||||||
        count="$(ls -1 | wc -l)"
 | 
					        count="$(find . ! -name . -prune | wc -l)"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        # Only do something if there are rules
 | 
					        # Only do something if there are rules
 | 
				
			||||||
        if [ "$count" -ge 1 ]; then
 | 
					        if [ "$count" -ge 1 ]; then
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue