Skip to content

Commit

Permalink
During investigating issue #860 I found out a nasty side-effect of de…
Browse files Browse the repository at this point in the history
…fining ISO_MAX_SIZE=4096 in local.conf.

The script 81_prepare_multiple_iso.sh created several empty ISO images where only 1 ISO image should have been created.
Well, got this corrected and committing it into our master repo.

Please note that this will not fix the issue described in issue #860, however, it was a nasty side-kick bug.
  • Loading branch information
gdha committed Jun 6, 2016
1 parent d595476 commit f25c61b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ local isofs_path=$(dirname $backuparchive)
# NB_ISOS=(ls . | wc -l) [side effect is that lots of empty ISOs are made]
[[ "$WORKFLOW" = "mkrescue" ]] && return

NB_ISOS=$(ls $backuparchive.?? | wc -l)
NB_ISOS=$(ls ${backuparchive}.?? | wc -l)

Print "Preparing $NB_ISOS ISO images ..."
echo -n "$(basename $backuparchive.00)" >> "${isofs_path}/backup.splitted"
Expand Down

0 comments on commit f25c61b

Please sign in to comment.