add missing ""

This commit is contained in:
2024-11-10 14:08:38 +01:00
parent 5b1567102e
commit e2876851bf

2
bouncer.sh Normal file → Executable file
View File

@@ -2,7 +2,7 @@
# #
# Script to add /remove IPs to iptables # Script to add /remove IPs to iptables
[[ -z "${IPTABLES_COMMENT}" ]] && commment="-m comment --comment $4" || comment="" [[ -z "${IPTABLES_COMMENT}" ]] && commment="-m comment --comment \"$4\"" || comment=""
function iptableAdd () { function iptableAdd () {
if [[ -z "${IPTABLES_INSERT}" ]]; then if [[ -z "${IPTABLES_INSERT}" ]]; then