diff options
Diffstat (limited to 'urpm/mirrors.pm')
-rw-r--r-- | urpm/mirrors.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/mirrors.pm b/urpm/mirrors.pm index 25b4e04d..a8b6de69 100644 --- a/urpm/mirrors.pm +++ b/urpm/mirrors.pm @@ -326,7 +326,7 @@ sub _product_id_mtime() { (stat('/etc/product.id'))[9] } sub parse_LDAP_namespace_structure { my ($s) = @_; - my %h = map { /(.*?)=(.*)/ ? ($1 => $2) : () } split(',', $s); + my %h = map { /(.*?)=(.*)/ ? ($1 => $2) : @{[]} } split(',', $s); \%h; } |