Skip to content

Commit

Permalink
- allow extraction of empty files
Browse files Browse the repository at this point in the history
  • Loading branch information
mlschroe committed Jul 21, 2011
1 parent c1aeef7 commit 9ca9af1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extractbuild
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ while(<S>) {
chomp;
last unless length $_;
my ($file, $filesize, $blksize, @blocks) = split(/ /);
if($#blocks == -1) {
die "invalid input\n";
if($#blocks == -1 && $filesize) {
die "invalid input '$_'\n";
}
$filesize = int($filesize);
$blksize = int($blksize);
Expand Down

0 comments on commit 9ca9af1

Please sign in to comment.