mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-05 01:07:08 +02:00
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
|
# Check to see if any of the products are running. If so, issue a warning
|
||||||
# and exits with value 1
|
# and exits with value 1
|
||||||
firewall_stopped() {
|
firewall_stopped() {
|
||||||
for product in $PRODUCTS; do
|
for PRODUCT in $PRODUCTS; do
|
||||||
if $product status > /dev/null 2>&1; then
|
if $PRODUCT status > /dev/null 2>&1; then
|
||||||
echo " WARNING: $product is running -- ignoring $1 command" >&2
|
echo " WARNING: $product is running -- ignoring $1 command" >&2
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user