diff options
author | Michael Scherer <misc@mandriva.org> | 2010-07-30 00:48:07 +0000 |
---|---|---|
committer | Michael Scherer <misc@mandriva.org> | 2010-07-30 00:48:07 +0000 |
commit | 52956623d18e7ccbe91d66d4fa456fefc760d9a3 (patch) | |
tree | 617380d547926822be6577d98e29cf2688f30587 /urpm/media.pm | |
parent | 5447c9373a52dd690fcbaaaaf14bb36b51388669 (diff) | |
download | urpmi-52956623d18e7ccbe91d66d4fa456fefc760d9a3.tar urpmi-52956623d18e7ccbe91d66d4fa456fefc760d9a3.tar.gz urpmi-52956623d18e7ccbe91d66d4fa456fefc760d9a3.tar.bz2 urpmi-52956623d18e7ccbe91d66d4fa456fefc760d9a3.tar.xz urpmi-52956623d18e7ccbe91d66d4fa456fefc760d9a3.zip |
- fix warning : "Use of uninitialized value in numeric lt (<) at urpm/media.pm line 1668."
Diffstat (limited to 'urpm/media.pm')
-rw-r--r-- | urpm/media.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/media.pm b/urpm/media.pm index 9f8c138c..b4f7d389 100644 --- a/urpm/media.pm +++ b/urpm/media.pm @@ -1665,7 +1665,7 @@ sub _update_medium__parse_if_unmodified__remote { } return; } - if ($options->{force} < 2 && _is_statedir_MD5SUM_uptodate($urpm, $medium, $new_MD5SUM)) { + if (($options->{force} || 0) < 2 && _is_statedir_MD5SUM_uptodate($urpm, $medium, $new_MD5SUM)) { _medium_is_up_to_date($urpm, $medium); return 'unmodified'; } |