summaryrefslogtreecommitdiffstats
path: root/lib/MDV/Distribconf
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mandriva.org>2007-11-11 19:40:34 +0000
committerOlivier Thauvin <nanardon@mandriva.org>2007-11-11 19:40:34 +0000
commit4b9053b6ce833edb12fa711b9e2052424cd98513 (patch)
tree8092e136f7a18c9597aa63ae3bd520bd14b9bc99 /lib/MDV/Distribconf
parent6ce998d22bea464b57d93819312272998cad9a01 (diff)
downloadperl-MDV-Distribconf-4b9053b6ce833edb12fa711b9e2052424cd98513.tar
perl-MDV-Distribconf-4b9053b6ce833edb12fa711b9e2052424cd98513.tar.gz
perl-MDV-Distribconf-4b9053b6ce833edb12fa711b9e2052424cd98513.tar.bz2
perl-MDV-Distribconf-4b9053b6ce833edb12fa711b9e2052424cd98513.tar.xz
perl-MDV-Distribconf-4b9053b6ce833edb12fa711b9e2052424cd98513.zip
- avoid undef value
Diffstat (limited to 'lib/MDV/Distribconf')
-rw-r--r--lib/MDV/Distribconf/Checks.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MDV/Distribconf/Checks.pm b/lib/MDV/Distribconf/Checks.pm
index cfeea65..eaf9d98 100644
--- a/lib/MDV/Distribconf/Checks.pm
+++ b/lib/MDV/Distribconf/Checks.pm
@@ -329,7 +329,7 @@ sub checkdistrib {
'UNSYNC_HDLIST',
"hdlist for media `%s' is not sync with its rpms" .
(defined($inhd) ? " (+%d -%d rpms)" : ' (missing or unreadable hdlist: +%d rpms)'),
- $media, $indir, $inhd
+ $media, ($indir || 0), $inhd
);
}