diff options
| author | Paul Buetow <paul@buetow.org> | 2026-06-11 10:27:24 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-06-11 10:27:24 +0300 |
| commit | 0965e395edc7c12db340c2f44debfe15a441ee62 (patch) | |
| tree | 5c95df723652036b4782cdcf9b7451a7de811aa5 /bin | |
| parent | a15b71282edce7e32a27b6ef84a06a9b1a853ab5 (diff) | |
Fix detail redirect dry-run count
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/photoalbum | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/photoalbum b/bin/photoalbum index 0fc3912..f6d2b7e 100755 --- a/bin/photoalbum +++ b/bin/photoalbum @@ -2248,7 +2248,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' |
