Upcase a variable to follow pattern in this file

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2020-04-15 14:18:28 -07:00
parent b6f5b6ba98
commit 1be78f8f15

View File

@ -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