Skip to content

Commit 9595805

Browse files
committed
do not return when ignoring stealth queries (chubin#115)
1 parent e57bb7f commit 9595805

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

share/cht.sh.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ cmd_stealth() {
381381
current_text="$(echo $current | tr -c '[a-zA-Z0-9]' ' ')"
382382
if [ $(echo $current_text | wc -w) -gt "$STEALTH_MAX_SELECTION_LENGTH" ]; then
383383
echo "\033[0;31mstealth:\033[0m selection length is longer than $STEALTH_MAX_SELECTION_LENGTH words; ignoring"
384-
return
384+
continue
385385
else
386386
printf "\n\033[0;31mstealth: \033[7m $current_text\033[0m\n"
387387
query=$(prepare_query "$section" "$current_text" "$arguments")

0 commit comments

Comments
 (0)