X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=contrib%2Frestore.pl;h=40ac46909da1efb9549acd51fb1a9ebe1cf6f263;hb=297553b6abd759306875c4c6f47fa1835e32fa05;hp=0af9dea33e7ed8a82e18c9247f74b877f911713e;hpb=9181f284453bf0471ffd06bd8ef16408758e108f;p=cumulus.git diff --git a/contrib/restore.pl b/contrib/restore.pl index 0af9dea..40ac469 100755 --- a/contrib/restore.pl +++ b/contrib/restore.pl @@ -130,7 +130,7 @@ sub load_ref { if $object_size != $1; ($start, $length) = (0, $1 + 0); } elsif ($range =~ m/^\[(\d+)\]$/) { - ($start, $length) = (0, $3 + 0); + ($start, $length) = (0, $1 + 0); } elsif ($range =~ m/^\[(\d+)\+(\d+)\]$/) { ($start, $length) = ($1 + 0, $2 + 0); } else {