actually respect AUTOPRUNE

This commit is contained in:
Alexander Bocken 2021-07-14 10:42:30 +02:00
parent eabc44a421
commit c15e34db42
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8

View File

@ -89,6 +89,8 @@ scan(){
echo "Thread $url not found ($dl_location) pruning from cached list of threads to watch"
# shellcheck disable=SC2001
notify-send "threadwatcher" "Thread downloading to $(echo "$dl_location" | sed "s|$HOME|~|") is complete now."
else
echo "$line" >> "$TMP_URLFILE"
fi
else
echo "Cannot connect to 4chan."