If we're looping more than once, print out the iteration

This commit is contained in:
Quanah Gibson-Mount 2009-01-27 02:27:23 +00:00
parent 70fd27c8d5
commit 85a75c4ca9

View file

@ -227,6 +227,9 @@ LDAPNOINIT=true; export LDAPNOINIT
echo "Running ${SCRIPT}..."
while [ $COUNTER -le $LOOP ]; do
if [ $LOOP -gt 1 ]; then
echo "Running $COUNTER of $LOOP iterations"
fi
$SCRIPT $*
RC=$?