From 4a9431fb73a65141f093702ba3f6598c3d29e130 Mon Sep 17 00:00:00 2001 From: teastep Date: Fri, 18 Jan 2008 22:14:29 +0000 Subject: [PATCH] Fix handling of COMMENT in shorewall-shell git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8077 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall-shell/compiler | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall-shell/compiler b/Shorewall-shell/compiler index b1daeb520..2dbabbbd2 100755 --- a/Shorewall-shell/compiler +++ b/Shorewall-shell/compiler @@ -2504,7 +2504,7 @@ process_macro() # $1 = target while read mtarget mclients mservers mprotocol mports mcports mratelimit muserspec; do - [ mtarget eq 'COMMENT' ] && continue + [ $mtarget = COMMENT ] && continue mtarget=$(merge_levels $itarget $mtarget)