|
|
@@ -288,12 +288,12 @@ case "$1" in
|
|
|
status)
|
|
|
do_action=do_check
|
|
|
global_status=0
|
|
|
- if [[ "$2" = "-v" ]] ; then
|
|
|
+ if [ "$2" = "-v" ] ; then
|
|
|
do_log=log_action
|
|
|
fi
|
|
|
# Start will not really start but exec the "check" action
|
|
|
fw_start
|
|
|
- if [[ 0 -eq "$global_status" ]] ; then
|
|
|
+ if [ 0 -eq "$global_status" ] ; then
|
|
|
echo "Firewall rules match configuration"
|
|
|
exit 0
|
|
|
else
|