about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--scripts/download-using-manifests.pl.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/download-using-manifests.pl.in b/scripts/download-using-manifests.pl.in
index 29321bff9472..fe80bc11f3a7 100644
--- a/scripts/download-using-manifests.pl.in
+++ b/scripts/download-using-manifests.pl.in
@@ -222,10 +222,10 @@ if ($ARGV[0] eq "--query") {
                 my $u = $edge->{start};
                 my $v = $edge->{end};
                 if ($edge->{type} eq "patch") {
-                    $downloadSize += $edge->{info}->{size};
+                    $downloadSize += $edge->{info}->{size} || 0;
                 }
                 elsif ($edge->{type} eq "narfile") {
-                    $downloadSize += $edge->{info}->{size};
+                    $downloadSize += $edge->{info}->{size} || 0;
                 }
             }