]> andersk Git - moira.git/blobdiff - gen/mailhub.sh
Threshold should be based on number of old lines, not number of new lines.
[moira.git] / 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.040676 seconds and 4 git commands to generate.