summaryrefslogtreecommitdiffstats
path: root/urpmi
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-11-29 11:51:16 +0000
committerThierry Vignaud <tv@mandriva.org>2006-11-29 11:51:16 +0000
commit1c8af50afa7088c95428f25904763f57ad8bcc55 (patch)
treebb818ef8940ae1a34a495270cc5c17e34610dcde /urpmi
parent510b6b74d5d29a1695d76ab3732b57826b5ffe91 (diff)
downloadurpmi-1c8af50afa7088c95428f25904763f57ad8bcc55.tar
urpmi-1c8af50afa7088c95428f25904763f57ad8bcc55.tar.gz
urpmi-1c8af50afa7088c95428f25904763f57ad8bcc55.tar.bz2
urpmi-1c8af50afa7088c95428f25904763f57ad8bcc55.tar.xz
urpmi-1c8af50afa7088c95428f25904763f57ad8bcc55.zip
further explain the fd leak hack comment
Diffstat (limited to 'urpmi')
-rwxr-xr-xurpmi5
1 files changed, 3 insertions, 2 deletions
diff --git a/urpmi b/urpmi
index c6ceff6c..9f0ec5bc 100755
--- a/urpmi
+++ b/urpmi
@@ -329,8 +329,9 @@ if (exists $urpm->{options}{'priority-upgrade'} && $urpm->{options}{'priority-up
# we were run with --no-priority-upgrade (we were just restarted.)
# so, no need to update the media again
$auto_update = 0;
- # temporary hack : if we were using an old version of URPM, file handles
- # might have leaked, so close them (with some heuristics.)
+ # temporary hack : if we were using an old version of URPM (eg: when
+ # upgrading from 2006), file handles might have leaked, so close them (with
+ # some heuristics.)
require urpm::sys;
urpm::sys::fix_fd_leak();
# also, clean up rpm db log files, because rpm might have been upgraded