Also crawl the last mirror in the database.

The last mirror in the database was not crawled and this adds '1' to
the --stopid if necessary.
This commit is contained in:
Adrian Reber 2015-05-13 11:59:37 +00:00
parent 2fc7977b35
commit 48e181ab24

View file

@ -26,4 +26,7 @@ for i in `seq 1 ${NUMBER_OF_CRAWLERS}`; do
fi
let STARTID=${STARTID}+${PART}
let STOPID=${STOPID}+${PART}
if [ "${STOPID}" -eq "${MAX_HOST}" ]; then
let STOPID=${STOPID}+1
fi
done