diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-07-28 09:31:53 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-07-28 09:31:53 +0000 |
commit | 405b621103d674cbdfe59915b96088e42d52ccb5 (patch) | |
tree | 168489b7c3115c1026a72433a6a6ac87af96c4f5 /urpm.pm | |
parent | b735bd6c1315548f179dcfd6f58ea247114a38e6 (diff) | |
download | urpmi-405b621103d674cbdfe59915b96088e42d52ccb5.tar urpmi-405b621103d674cbdfe59915b96088e42d52ccb5.tar.gz urpmi-405b621103d674cbdfe59915b96088e42d52ccb5.tar.bz2 urpmi-405b621103d674cbdfe59915b96088e42d52ccb5.tar.xz urpmi-405b621103d674cbdfe59915b96088e42d52ccb5.zip |
readdir nit
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -404,7 +404,7 @@ sub configure { if ($parallel_options) { foreach my $dir (grep { -d $_ } map { "$_/urpm" } @INC) { opendir my $dh, $dir or die $!; - while ($_ = readdir $dh) { + while (defined ($_ = readdir $dh)) { -f "$dir/$_" or next; $urpm->{log}->(N("examining parallel handler in file [%s]", "$dir/$_")); eval { require "$dir/$_"; $parallel_handler = $urpm->handle_parallel_options($parallel_options) }; |