diff --git a/New/compiler b/New/compiler index e0efc5c2b..b06655296 100755 --- a/New/compiler +++ b/New/compiler @@ -70,7 +70,7 @@ startup_error() # debug= -[ $# -gt 1 ] && [ "$1" = "-D8" ] && { debug="-d" ; shift ; } +[ $# -gt 1 ] && [ "$1" = "debug" ] && { debug="-d"; shift ; } SHAREDIR=/usr/share/shorewall VARDIR=/var/lib/shorewall @@ -98,7 +98,7 @@ case "$COMMAND" in check) [ $# -ne 1 ] && usage do_initialize - exec perl $debug /usr/share/shorewall/compiler.pl $1 + exec perl $debug /usr/share/shorewall/compiler.pl ;; compile) [ $# -ne 2 ] && usage