summaryrefslogtreecommitdiffstats
path: root/bin/cd_tester.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/cd_tester.sh')
-rwxr-xr-xbin/cd_tester.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/cd_tester.sh b/bin/cd_tester.sh
index ccf42c81..a3f6c6a6 100755
--- a/bin/cd_tester.sh
+++ b/bin/cd_tester.sh
@@ -188,6 +188,7 @@ monitor_installation() {
if [ $NR -eq $MAX_RUNS ] ; then
echo Warning: running for 6h, forceing termination.
fi
+ let NR=NR-1
cp snapshot_$(printf "%06d" $NR).ppm snapshot_$(printf "%06d" $NR).ppm.bak
}