diff --git a/tootpaste.sh b/tootpaste.sh index 726a1d1..23b3e60 100644 --- a/tootpaste.sh +++ b/tootpaste.sh @@ -73,6 +73,7 @@ accounts_cull() { | sort -u \ > "$OTHER_ERRORS_LOG" + test -f $PREV_ERRORS_LOG || touch $PREV_ERRORS_LOG while read -r instance; do if grep -q "$instance" $PREV_ERRORS_LOG; then error=false