Merge branch 'log_opened' into 'master'

make_disc_trees: don't reopen the log over and over

See merge request images-team/debian-cd!1
This commit is contained in:
Steve McIntyre 2019-01-23 23:03:04 +00:00
commit 79dd5aeeb5
1 changed files with 1 additions and 0 deletions

View File

@ -935,6 +935,7 @@ sub msg_ap {
if (!$log_opened) {
open(AP_LOG, ">> $tdir/$codename/add_packages.log")
|| die "Can't write in $tdir/add_packages.log!\n";
$log_opened = 1;
}
print AP_LOG @_;
}