From 1be78f8f15aa15ad4c668229b705b9d64598aba0 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Wed, 15 Apr 2020 14:18:28 -0700 Subject: [PATCH] Upcase a variable to follow pattern in this file Signed-off-by: Tom Eastep --- Shorewall-init/shorewall-init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Shorewall-init/shorewall-init b/Shorewall-init/shorewall-init index 0edfef5e6..13156028c 100644 --- a/Shorewall-init/shorewall-init +++ b/Shorewall-init/shorewall-init @@ -28,8 +28,8 @@ # Check to see if any of the products are running. If so, issue a warning # and exits with value 1 firewall_stopped() { - for product in $PRODUCTS; do - if $product status > /dev/null 2>&1; then + for PRODUCT in $PRODUCTS; do + if $PRODUCT status > /dev/null 2>&1; then echo " WARNING: $product is running -- ignoring $1 command" >&2 return 1 fi