diff --git a/ddos-mitigator/superscript.sh b/ddos-mitigator/superscript.sh index a11a12d..5b3fac3 100755 --- a/ddos-mitigator/superscript.sh +++ b/ddos-mitigator/superscript.sh @@ -123,7 +123,8 @@ trap 'sudo -k; popd; rm -r ${tmpdir}' EXIT # Create a temp directory, chdir into it and create the (initially empty) # banlist file. tmpdir=$(mktemp -d) -pushd "${tmpdir}" +# Suppress output of dir stack. +pushd "${tmpdir}" > /dev/null touch "${banlist}" # Parse the command line options