]> andersk Git - moira.git/commitdiff
Threshold should be based on number of old lines, not number of new lines.
authorzacheiss <zacheiss>
Wed, 15 May 2002 20:25:05 +0000 (20:25 +0000)
committerzacheiss <zacheiss>
Wed, 15 May 2002 20:25:05 +0000 (20:25 +0000)
gen/mailhub.sh

index 1e128148d81ed91a00f3e4b527885d5d6fd3094c..62caea9522dae59d0856afd743c573c28f3e1146 100644 (file)
@@ -34,7 +34,7 @@ fi
 olines=`wc -l $root/etc/aliases |  awk '{print $1}'`
 nlines=`wc -l $root/etc/aliases.new | awk '{print $1}'`
 diff=`expr $nlines - $olines`
-thresh=`expr $nlines / 10`
+thresh=`expr $olines / 10`
 
 # Catch the zero case
 if [ $nlines -eq 0 ]; then
This page took 0.031414 seconds and 5 git commands to generate.