From 877a2723e5b61bf9001d6905f9ee7de1296c55cf Mon Sep 17 00:00:00 2001 From: Manuel Friedli Date: Mon, 10 Aug 2020 00:34:29 +0200 Subject: [PATCH] Minor bugfix: Don't trip if there is NOTHING to block. --- ddos-mitigator.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/ddos-mitigator.sh b/ddos-mitigator.sh index 1054ec3..84da884 100755 --- a/ddos-mitigator.sh +++ b/ddos-mitigator.sh @@ -442,8 +442,6 @@ file24="${tmpdir}/sorted-http-24.txt" file32="${tmpdir}/sorted-http-32.txt" # This file will contain the addresses to be banned. banlist="${tmpdir}/banlist.txt" -# This file contains the output of the last invocation of whois -whoisoutput="${tmpdir}/whois.txt" touch "${banlist}"