summaryrefslogtreecommitdiffstats
path: root/perl-install/c/stuff.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/c/stuff.pm')
-rw-r--r--perl-install/c/stuff.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/c/stuff.pm b/perl-install/c/stuff.pm
index ad5cf316d..70f2b3222 100644
--- a/perl-install/c/stuff.pm
+++ b/perl-install/c/stuff.pm
@@ -14,7 +14,7 @@ bootstrap c::stuff $VERSION;
sub headerGetEntry {
my ($h, $q) = @_;
-
+ $h or log::l("empty header in headerGetEntry"), return;
$q eq 'name' and return headerGetEntry_string($h, RPMTAG_NAME());
$q eq 'group' and return headerGetEntry_string($h, RPMTAG_GROUP());
$q eq 'version' and return headerGetEntry_string($h, RPMTAG_VERSION());