diff options
-rw-r--r-- | urpm.pm | 2 | ||||
-rwxr-xr-x | urpmi | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -67,7 +67,7 @@ sub new { sync => sub { $self->sync_webfetch(@_) }, fatal => sub { printf STDERR "%s\n", $_[1]; exit($_[0]) }, error => sub { printf STDERR "%s\n", $_[0] }, - log => sub { printf STDERR "%s\n", $_[0] }, + log => sub { printf "%s\n", $_[0] }, ui_msg => sub { $self->{log}($_[0]); ref $self->{ui} && ref $self->{ui}{msg} and $self->{ui}{msg}->($_[1]); @@ -259,7 +259,7 @@ select STDOUT; $| = 1; unless ($bug) { $urpm->{fatal} = sub { printf SAVEERR "%s\n", $_[1]; exit($_[0]) }; $urpm->{error} = sub { printf SAVEERR "%s\n", $_[0] }; - $urpm->{log} = sub { printf SAVEERR "%s\n", $_[0] }; + $urpm->{log} = sub { printf SAVEOUT "%s\n", $_[0] }; } $verbose > 0 or $urpm->{log} = sub {}; |