From f60ab5052143af5c1e85a556dddf9e58f1c2295e Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Thu, 27 Jan 2011 21:07:05 +0100 Subject: [PATCH] if I can't find gzip size return original one --- bin/BackupPC_ASA_PostArchive_Update | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/BackupPC_ASA_PostArchive_Update b/bin/BackupPC_ASA_PostArchive_Update index e744d02..3a79676 100755 --- a/bin/BackupPC_ASA_PostArchive_Update +++ b/bin/BackupPC_ASA_PostArchive_Update @@ -189,7 +189,8 @@ sub check_archive { return $2; } } else { - die "can't find size in line: $line"; + warn "ERROR can't parse: $line"; + return -s $filename; } } -- 2.20.1