diff --git a/util/indexer.main.sh.in b/util/indexer.main.sh.in index 0f4e9653..3561fb5a 100755 --- a/util/indexer.main.sh.in +++ b/util/indexer.main.sh.in @@ -51,5 +51,5 @@ echo "INDEXER INFO: resetting daily delta finished" | logger -p "$PRIORITY" sum=0 while read -r a b; do sum=$(( sum + b )) -done < <( find /var/piler/${INDEXDIR}/ -type f -name main\*.spd -printf "%TY%Tm%Td %s\\n" ) +done < <( find /var/piler/${INDEXDIR}/ -type f -name main\*.sp[dp] -printf "%TY%Tm%Td %s\\n" ) printf "%d" $sum > /var/piler/stat/main_index_size