summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-06-11 10:27:24 +0300
committerPaul Buetow <paul@buetow.org>2026-06-11 10:27:24 +0300
commit0965e395edc7c12db340c2f44debfe15a441ee62 (patch)
tree5c95df723652036b4782cdcf9b7451a7de811aa5 /src/lib
parenta15b71282edce7e32a27b6ef84a06a9b1a853ab5 (diff)
Fix detail redirect dry-run count
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/album.source.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/album.source.sh b/src/lib/album.source.sh
index ee693e0..760201a 100644
--- a/src/lib/album.source.sh
+++ b/src/lib/album.source.sh
@@ -950,7 +950,7 @@ dry_run() {
if (( image_count > 0 )); then
details_count=$image_count
page_count=$(( (image_count + MAXPREVIEWS - 1) / MAXPREVIEWS ))
- redirect_count=$(( page_count * 4 + 1 ))
+ redirect_count=$(( page_count * 4 + 2 ))
fi
printf 'Dry run: no files will be written.\n'