commit b72ca3a5a5e48853ab5896fa2ee3256fa4eca8e0 from: xs date: Tue Jan 30 18:55:32 2024 UTC Typo, shellchek is not magical ! commit - d43799e55479f2dbf3803867f54643b5506e7636 commit + b72ca3a5a5e48853ab5896fa2ee3256fa4eca8e0 blob - 439ccc2c83acb045c82728bf7ad56dfda4afc213 blob + 79ee9f5ab35709f470ef79890d19ea2e3fbd32e2 --- http-ban.sh +++ http-ban.sh @@ -43,7 +43,7 @@ block() { access | IN_400_HOSTS | limit "$HTTPBAN_LIMIT_400" access | IN_300_HOSTS | limit "$HTTPBAN_LIMIT_300" } | sort | uniq | { - if test -n "$*"; then grep -v "$@" else cat; fi + if test -n "$*"; then grep -v "$@"; else cat; fi } }