summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/g-i-installation.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh
index 4a487cb3..33570b2c 100755
--- a/bin/g-i-installation.sh
+++ b/bin/g-i-installation.sh
@@ -538,12 +538,12 @@ monitor_system() {
*) ;;
esac
fi
- # every 100 screenshots, starting from the 400ths one...
- if [ $(($NR % 100)) -eq 0 ] && [ $NR -gt 400 ] ; then
+ # every 100 screenshots, starting from the 300ths one...
+ if [ $(($NR % 100)) -eq 0 ] && [ $NR -gt 300 ] ; then
# from help let: "Exit Status: If the last ARG evaluates to 0, let returns 1; let returns 0 otherwise."
- let OLD=NR-400
+ let OLD=NR-300
PRINTF_OLD=$(printf "%06d" $OLD)
- # test if this screenshot is basically the same as the one 400 screenshots ago
+ # test if this screenshot is basically the same as the one 300 screenshots ago
# 400 pixels difference between to images is tolerated, to ignore updating clocks
PIXEL=$(compare -metric AE snapshot_${PRINTF_NR}.ppm snapshot_${PRINTF_OLD}.ppm /dev/null 2>&1 || true )
# usually this returns an integer, but not always....