projects
/
BackupPC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
dcde072
)
if I can't find gzip size return original one
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 27 Jan 2011 20:07:05 +0000
(21:07 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 27 Jan 2011 20:07:05 +0000
(21:07 +0100)
bin/BackupPC_ASA_PostArchive_Update
patch
|
blob
|
history
diff --git
a/bin/BackupPC_ASA_PostArchive_Update
b/bin/BackupPC_ASA_PostArchive_Update
index
e744d02
..
3a79676
100755
(executable)
--- a/
bin/BackupPC_ASA_PostArchive_Update
+++ b/
bin/BackupPC_ASA_PostArchive_Update
@@
-189,7
+189,8
@@
sub check_archive {
return $2;
}
} else {
return $2;
}
} else {
- die "can't find size in line: $line";
+ warn "ERROR can't parse: $line";
+ return -s $filename;
}
}
}
}