Skip to content

Commit

Permalink
Fix term
Browse files Browse the repository at this point in the history
  • Loading branch information
willnode committed Dec 9, 2024
1 parent 3a8b853 commit fcd9c3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/whitelist/resolve.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ HOST_ADDRESSES=""
for RECORD_TYPE in A AAAA; do
while read -r p; do
if [[ $p != "#"* ]]; then
if [[ -v TERM ]]; then
if [ -n "$TERM" ]; then
printf '\r%s Fetching NS %s of %s' "$(tput el)" $RECORD_TYPE $p
fi
FFI=$(dig +short $RECORD_TYPE $p @1.1.1.1 | grep -v '\.$')
Expand Down

0 comments on commit fcd9c3b

Please sign in to comment.