make_disc_trees: don't reopen the log over and over
This commit is contained in:
parent
6114c16dfc
commit
97dbce1c22
|
@ -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