mirror of
				https://github.com/Jonny007-MKD/OTR-DecodeAll
				synced 2025-11-03 16:15:36 +01:00 
			
		
		
		
	Only grep first label from DB
This commit is contained in:
		
							parent
							
								
									9abfc666f2
								
							
						
					
					
						commit
						a1aaae9331
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -184,7 +184,7 @@ function funcUnlock {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
function funcGetLabel {
 | 
			
		||||
	label="$(grep "$filename" $torrentDb | grep -o ' [a-zA-Z0-9_-]*$' | grep -o '[a-zA-Z0-9_-]*$')"
 | 
			
		||||
	label="$(grep -m 1 "$filename" $torrentDb | grep -o ' [a-zA-Z0-9_-]*$' | grep -o '[a-zA-Z0-9_-]*$')"
 | 
			
		||||
	funcLog 5 "label: $label"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue