From 105876d90e1ba12f8acc940a860bdd7066f6ba4c Mon Sep 17 00:00:00 2001 From: Uli Martens Date: Wed, 28 Mar 2012 16:26:36 +0200 Subject: [PATCH] warn on read errors in update-ftpstats, don't die --- scripts/debian/update-ftpstats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/debian/update-ftpstats b/scripts/debian/update-ftpstats index a7fda09e..7cad6590 100755 --- a/scripts/debian/update-ftpstats +++ b/scripts/debian/update-ftpstats @@ -13,7 +13,7 @@ my @archs = ("source", "all", "amd64", "i386", "alpha", "arm", "armel", "armhf", for my $file (@ARGV) { my $FH = new IO::Uncompress::AnyUncompress $file, Transparent => 1 - or die "Cannot open $file: $AnyUncompressError\n"; + or warn "Cannot open $file: $AnyUncompressError\n"; while (<$FH>) { if (/^(\d{8})\d{6}\|(?:k(?:atie|elly)|process-(?:accepted|upload))(?:\|dak)?\|installed\|[^|]+\|[^|]+\|(\d+)\|([-\w]+)$/) { if (not defined $data{$1}) { -- 2.39.2