From: Frank Lichtenheld Date: Sun, 8 Feb 2009 17:16:15 +0000 (+0000) Subject: extract_files: improve error reporting a bit X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=6bb33bd0eab35eb41ca7135d0988a6873bf27e01;p=deb%2Fpackages.git extract_files: improve error reporting a bit --- diff --git a/bin/extract_files b/bin/extract_files index 3bfc559..1d3ce91 100755 --- a/bin/extract_files +++ b/bin/extract_files @@ -557,6 +557,10 @@ sub read_deb { } } $cache{$debname} ||= qx/dpkg-deb --info "$debname" control/; + unless ( $cache{$debname} ) { + do_warning( "extracting control information of file $debname failed" ); + return; + } my $control = $cache{$debname}; unless ( $raw_data = $parser->parse_mem( $control,