summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorMichael Scherer <misc@mandriva.org>2006-11-03 13:53:50 +0000
committerMichael Scherer <misc@mandriva.org>2006-11-03 13:53:50 +0000
commitc90808002a892732180a8c02a41c08e05940c68e (patch)
tree67b91749f07324e1a9366cf8de0250e70ef56c3a /urpm
parentf5f2b431771d5a7021030c4b82fde677157ded72 (diff)
downloadurpmi-c90808002a892732180a8c02a41c08e05940c68e.tar
urpmi-c90808002a892732180a8c02a41c08e05940c68e.tar.gz
urpmi-c90808002a892732180a8c02a41c08e05940c68e.tar.bz2
urpmi-c90808002a892732180a8c02a41c08e05940c68e.tar.xz
urpmi-c90808002a892732180a8c02a41c08e05940c68e.zip
- remove useless call to log, as we are calling 'die' in write_ldap_cache, and run inside a eval block, spotted by pixel.
Diffstat (limited to 'urpm')
-rw-r--r--urpm/ldap.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/ldap.pm b/urpm/ldap.pm
index b65fc0c2..e3853a7a 100644
--- a/urpm/ldap.pm
+++ b/urpm/ldap.pm
@@ -212,7 +212,7 @@ sub load_ldap_media($%) {
$medium->{priority} = $priority++;
next if !check_ldap_medium($medium);
$urpm->probe_medium($medium, %options) and push @{$urpm->{media}}, $medium;
- write_ldap_cache($urpm,$medium) or $urpm->{log}(N("Could not write ldap cache : %s", $_));
+ write_ldap_cache($urpm,$medium);
}
};
if ($@) {