aboutsummaryrefslogtreecommitdiffstats
path: root/tools/randpkt-test.sh
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2012-10-03 16:39:35 +0000
committerGerald Combs <gerald@wireshark.org>2012-10-03 16:39:35 +0000
commita5b9de38b4f46952e943e2f8a840f4fa33e79b48 (patch)
tree26d2f1b613981db3c96684eacc6af9139bdce79d /tools/randpkt-test.sh
parentac6e9cbb8b42ecc3b88708b1ba0176c3de41ea64 (diff)
Fix return code checking (hopefully).
svn path=/trunk/; revision=45289
Diffstat (limited to 'tools/randpkt-test.sh')
-rwxr-xr-xtools/randpkt-test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/randpkt-test.sh b/tools/randpkt-test.sh
index 0195b7e45c..5f9ca0c806 100755
--- a/tools/randpkt-test.sh
+++ b/tools/randpkt-test.sh
@@ -125,7 +125,7 @@ while [ $PASS -lt $MAX_PASSES -o $MAX_PASSES -lt 1 ] ; do
"$TSHARK" $ARGS $TMP_DIR/$TMP_FILE \
> /dev/null 2> $TMP_DIR/$ERR_FILE
RETVAL=$?
- if [ $RETVAL -ge 128 ] ; then break ; fi
+ if [ $RETVAL -ne 0 ] ; then break ; fi
done
grep -i "dissector bug" $TMP_DIR/$ERR_FILE \
> /dev/null 2>&1 && DISSECTOR_BUG=1