summaryrefslogtreecommitdiff
path: root/validate
diff options
context:
space:
mode:
Diffstat (limited to 'validate')
-rw-r--r--validate2
1 files changed, 1 insertions, 1 deletions
diff --git a/validate b/validate
index 5d0afb4d2b..4e2352b9cb 100644
--- a/validate
+++ b/validate
@@ -48,7 +48,7 @@ done
if [ "$CPUS" = "" ]; then
threads=2
else
- threads=`expr $CPUS + 1`
+ threads=$((($CPUS + 1) * 2)) # `expr $CPUS + 1`
fi
if [ $testsuite_only -eq 0 ]; then