Fix a couple of silly problems

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5479 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-03-10 02:22:18 +00:00
parent 7e0f3c4508
commit e05de0dd42

View File

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