From: Dobrica Pavlinusic Date: Thu, 27 Jan 2011 20:07:05 +0000 (+0100) Subject: if I can't find gzip size return original one X-Git-Url: http://git.rot13.org/?p=BackupPC.git;a=commitdiff_plain;h=f60ab5052143af5c1e85a556dddf9e58f1c2295e;ds=sidebyside if I can't find gzip size return original one --- 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; } }