From 97dbce1c228034a6710424a5a5d9ae3a03666595 Mon Sep 17 00:00:00 2001 From: Julien Cristau Date: Wed, 23 Jan 2019 23:34:01 +0100 Subject: [PATCH] make_disc_trees: don't reopen the log over and over --- tools/make_disc_trees.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/make_disc_trees.pl b/tools/make_disc_trees.pl index 0d266ef5..b87b693e 100755 --- a/tools/make_disc_trees.pl +++ b/tools/make_disc_trees.pl @@ -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 @_; }