From 50963b5726136350e783df92908209d5aeebe3e0 Mon Sep 17 00:00:00 2001 From: Olivier Thauvin Date: Thu, 19 Jul 2007 00:21:57 +0000 Subject: - avoid warning on undefined value --- lib/MDV/Distribconf/Checks.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/MDV/Distribconf/Checks.pm b/lib/MDV/Distribconf/Checks.pm index f1c70ba..7866d32 100644 --- a/lib/MDV/Distribconf/Checks.pm +++ b/lib/MDV/Distribconf/Checks.pm @@ -320,7 +320,8 @@ sub checkdistrib { $error += _report_err( $fhout, 'UNSYNC_HDLIST', - "hdlist for media `%s' is not sync with its rpms (+%d -%d rpms)", + "hdlist for media `%s' is not sync with its rpms" . + (defined($inhd) ? " (+%d -%d rpms)" : ' (no hdlist)'), $media, $indir, $inhd ); } -- cgit v1.2.1