forked from extern/shorewall_code
Upcase a variable to follow pattern in this file
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
b6f5b6ba98
commit
1be78f8f15
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user