From a0665cb18d98e6c0c22380819173cbf8d599f83c Mon Sep 17 00:00:00 2001 From: Matthew Saunders Brown Date: Fri, 26 Jul 2024 14:18:17 -0700 Subject: [PATCH] force 2 letter country code to be lower case --- sbin/firewall-blacklist-zone.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/firewall-blacklist-zone.sh b/sbin/firewall-blacklist-zone.sh index 02cf923..106865c 100755 --- a/sbin/firewall-blacklist-zone.sh +++ b/sbin/firewall-blacklist-zone.sh @@ -2,7 +2,7 @@ # Zone (2 letter country code) should be first arg if [ -n "$1" ]; then - zone=$1 + zone=${1,,} else echo "zone not set" exit 1