Terminate our inner loops as well.

svn path=/trunk/; revision=42134
This commit is contained in:
Gerald Combs 2012-04-18 16:10:08 +00:00
parent bb606959f7
commit 17febadb12
2 changed files with 2 additions and 0 deletions

View File

@ -185,6 +185,7 @@ while [ $PASS -lt $MAX_PASSES -o $MAX_PASSES -lt 1 ] ; do
RUN=0
for CF in "$@" ; do
if [ $PASS -gt $MAX_PASSES ] ; then break ; fi # We caught a signal
RUN=$(( $RUN + 1 ))
if [ $(( $RUN % 50 )) -eq 0 ] ; then
echo " [Pass $PASS]"

View File

@ -89,6 +89,7 @@ while [ $PASS -lt $MAX_PASSES -o $MAX_PASSES -lt 1 ] ; do
echo "Pass $PASS:"
for PKT_TYPE in $PKT_TYPES ; do
if [ $PASS -gt $MAX_PASSES ] ; then break ; fi # We caught a signal
echo -n " $PKT_TYPE: "
DISSECTOR_BUG=0