From ea007e4c515897be567d2b7fae21c7e3b2f7e9c9 Mon Sep 17 00:00:00 2001 From: Bart Martens Date: Tue, 1 Nov 2011 20:29:44 +0100 Subject: [PATCH] Added error checking, from 2011-04-18. --- bin/extract_files | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/extract_files b/bin/extract_files index 5c57bab..a94fba0 100755 --- a/bin/extract_files +++ b/bin/extract_files @@ -564,6 +564,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, -- 2.39.5