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