Explorar o código

POSIX compatibility modification

Laurent HUBERT %!s(int64=7) %!d(string=hai) anos
pai
achega
f69c758685
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      scripts/lfirewall

+ 2 - 2
scripts/lfirewall

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