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:
commit
79dd5aeeb5
|
@ -935,6 +935,7 @@ sub msg_ap {
|
||||||
if (!$log_opened) {
|
if (!$log_opened) {
|
||||||
open(AP_LOG, ">> $tdir/$codename/add_packages.log")
|
open(AP_LOG, ">> $tdir/$codename/add_packages.log")
|
||||||
|| die "Can't write in $tdir/add_packages.log!\n";
|
|| die "Can't write in $tdir/add_packages.log!\n";
|
||||||
|
$log_opened = 1;
|
||||||
}
|
}
|
||||||
print AP_LOG @_;
|
print AP_LOG @_;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue