1
0
Fork 0
mirror of https://github.com/Jonny007-MKD/OTR-DecodeAll synced 2025-01-22 08:49:50 +01:00

Only grep first label from DB

This commit is contained in:
Jonny007-MKD 2015-02-24 14:54:56 +01:00
parent 9abfc666f2
commit a1aaae9331

View file

@ -184,7 +184,7 @@ function funcUnlock {
} }
function funcGetLabel { 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" funcLog 5 "label: $label"
} }