summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-12-04 08:44:40 +0000
committerThierry Vignaud <tv@mageia.org>2012-12-04 08:44:40 +0000
commit0603d13a0a9ee9af41e4d69c6b890878596ab117 (patch)
tree7422bcde945731aa817866013fae472b6bdd3348
parent2501982e2d54bdf5156e66785332fa0c581721b0 (diff)
downloadurpmi-0603d13a0a9ee9af41e4d69c6b890878596ab117.tar
urpmi-0603d13a0a9ee9af41e4d69c6b890878596ab117.tar.gz
urpmi-0603d13a0a9ee9af41e4d69c6b890878596ab117.tar.bz2
urpmi-0603d13a0a9ee9af41e4d69c6b890878596ab117.tar.xz
urpmi-0603d13a0a9ee9af41e4d69c6b890878596ab117.zip
fix missing logs
we were not calling the log callback since commit r4883 on Jun 8 2012: (trans_log) simplify"
-rw-r--r--NEWS3
-rwxr-xr-xurpmi2
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index dd2caa4e..5d9d7c31 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- urpmi:
+ o fix missing logs
+
Version 7.12 - 2 December 2012, by Thierry Vignaud
- library:
diff --git a/urpmi b/urpmi
index cf6f8c0b..5eb0d528 100755
--- a/urpmi
+++ b/urpmi
@@ -639,7 +639,7 @@ my $exit_code = urpm::main_loop::run($urpm, $state,
defined message_input("$msg\n$msg2 ");
}
}) : ()),
- trans_log => &urpm::download::sync_logger,
+ trans_log => \&urpm::download::sync_logger,
bad_signature => sub {
my ($msg, $msg2) = @_;
#- rurpmi always abort here