Skip to content

Commit

Permalink
Run lookup in fg, not bg, and show [not listed] as well by default
Browse files Browse the repository at this point in the history
  • Loading branch information
adionditsak committed Nov 8, 2021
1 parent fddc228 commit 7026d1e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions bl
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ loopthroughblacklists() {
echo $1 name ${reverse_dns:----}

for bl in ${blacklists} ; do
(
#printf $(env tz=utc date "+%y-%m-%d_%h:%m:%s_%z")
#printf "%-40s" " ${reverse}.${bl}."

Expand All @@ -70,11 +69,10 @@ loopthroughblacklists() {

echo "$bl [blacklisted] (${listed})" | cecho LRED
fi
# else
else

#echo "$bl [not listed]" | cecho LGREEN
echo "$bl [not listed]" | cecho LGREEN
fi
) &
done
}

Expand All @@ -87,6 +85,7 @@ error() {

#### cecho ####
cecho(){

LGREEN="\033[1;32m"
LRED="\033[1;31m"
YELLOW="\033[1;33m"
Expand Down
Empty file modified bl.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7026d1e

Please sign in to comment.