diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2006-11-10 12:53:31 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2006-11-10 12:53:31 +0000 |
commit | b5fb1d25f64275e464f67fab17797f172fdf4a3d (patch) | |
tree | 29f498f392e9b8f13d4861629d80137b64acffdb | |
parent | d80aa20997aea02ccd576b1d7173772539c7d3af (diff) | |
download | urpmi-b5fb1d25f64275e464f67fab17797f172fdf4a3d.tar urpmi-b5fb1d25f64275e464f67fab17797f172fdf4a3d.tar.gz urpmi-b5fb1d25f64275e464f67fab17797f172fdf4a3d.tar.bz2 urpmi-b5fb1d25f64275e464f67fab17797f172fdf4a3d.tar.xz urpmi-b5fb1d25f64275e464f67fab17797f172fdf4a3d.zip |
fix parsing of ::logger_id::
(for the case where there is no logger_id (which occurs when ->check fail, see #27026))
-rw-r--r-- | urpm.pm | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2974,9 +2974,9 @@ sub install { local $_; while (<$CHILD_RETURNS>) { chomp; - if (/^::logger_id:(\d+)(?::(\d+))?/) { + if (/^::logger_id:(\d*):(\d*)/) { $urpm->{logger_id} = $1; - $2 and $urpm->{logger_count} = $2; + $urpm->{logger_count} = $2 if $2; } else { push @l, $_; } |